Skip to content

Commit

Permalink
Bq storage api (raystack#8)
Browse files Browse the repository at this point in the history
* chore: version bump

* chore: remove default addition of storage api
  • Loading branch information
lavkesh authored May 8, 2023
1 parent ed28420 commit e744184
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ lombok {
}

group 'com.gotocompany'
version '0.8.5'
version '0.8.6'

def projName = "firehose"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public void init() {
return;
case BIGQUERY:
BigquerySinkUtils.addMetadataColumns(config);
BigquerySinkUtils.enableStorageAPI(config);
bigQuerySinkFactory = new BigQuerySinkFactory(
ConfigFactory.create(BigQuerySinkConfig.class, config),
statsDReporter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ public static void addMetadataColumns(Map<String, String> config) {
config.put("SINK_BIGQUERY_METADATA_COLUMNS_TYPES",
"message_offset=integer,message_topic=string,load_time=timestamp,message_timestamp=timestamp,message_partition=integer");
}

public static void enableStorageAPI(Map<String, String> config) {
config.put("SINK_BIGQUERY_STORAGE_API_ENABLE", "true");
}
}

0 comments on commit e744184

Please sign in to comment.