Skip to content

Commit

Permalink
update kafka config
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheun99 committed Jan 9, 2025
1 parent dc39133 commit 0d3b5fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private Map<TablePath, ConsumerMetadata> createMapConsumerMetadata(
return consumerMetadataList.stream()
.collect(
Collectors.toMap(
consumerMetadata -> TablePath.of(consumerMetadata.getTopic()),
consumerMetadata -> TablePath.of(null, consumerMetadata.getTopic()),
consumerMetadata -> consumerMetadata));
}

Expand Down Expand Up @@ -205,7 +205,7 @@ private ConsumerMetadata createConsumerMetadata(ReadonlyConfig readonlyConfig) {
private CatalogTable createCatalogTable(ReadonlyConfig readonlyConfig) {
Optional<Map<String, Object>> schemaOptions =
readonlyConfig.getOptional(TableSchemaOptions.SCHEMA);
TablePath tablePath = TablePath.of(readonlyConfig.get(TOPIC));
TablePath tablePath = TablePath.of(null, readonlyConfig.get(TOPIC));
TableSchema tableSchema;
if (schemaOptions.isPresent()) {
tableSchema = new ReadonlyConfigParser().parse(readonlyConfig);
Expand Down

0 comments on commit 0d3b5fd

Please sign in to comment.