diff --git a/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceConfig.java b/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceConfig.java index ddf73c104c3e..88945097a313 100644 --- a/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceConfig.java +++ b/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceConfig.java @@ -205,7 +205,7 @@ private ConsumerMetadata createConsumerMetadata(ReadonlyConfig readonlyConfig) { private CatalogTable createCatalogTable(ReadonlyConfig readonlyConfig) { Optional> schemaOptions = readonlyConfig.getOptional(TableSchemaOptions.SCHEMA); - TablePath tablePath = TablePath.of("kafka", readonlyConfig.get(TOPIC)); + TablePath tablePath = TablePath.of(null, readonlyConfig.get(TOPIC)); TableSchema tableSchema; if (schemaOptions.isPresent()) { tableSchema = new ReadonlyConfigParser().parse(readonlyConfig);