Skip to content

Conversation

@bowenli86
Copy link
Member

@bowenli86 bowenli86 commented Feb 5, 2026

Motivation

Kafka cluster id is an essential constant to query in context of multi clusters of dynamic kafka source. ConsumerRecord includes topic/partition/offset but not Kafka cluster id. This PR adds an opt-in side-channel to inject cluster id into deserialization so SQL metadata can expose kafka_cluster correctly in dynamic multi-cluster reads.

What Changed

  • Added a new internal deserializer hook, Updated dynamic source reader flow
  • Extended table deserialization path
  • Updated table source metadata wiring
  • Added/updated tests:
    • Added DynamicKafkaSourceClusterMetadataITCase.
    • Added DynamicKafkaDeserializationSchemaTest.
    • Updated DynamicKafkaTableITCase with cluster metadata coverage.
  • Added docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant