-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql,storage: enable configurable group and transactional IDs for Kafka
Allow users to configure the consumer group and transactional IDs when creating Kafka sources and sinks. Specifically: * The stabilized `GROUP ID PREFIX` option for Kafka sources allows setting the prefix of the consumer group ID. * The renamed and stabilized `PROGRESS GROUP ID PREFIX` option for Kafka sinks allows setting the prefix of the consumer group ID used when Materialize reads records from the sink's progress topic. * The new and instastabilized `TRANSACTIONAL ID` option for Kafka sinks allows setting the transacitonal ID used when Materialize produces records to the sink's data topic. Also change the default progress group and transactional ID to be materialize-{REGION-ID}-{CONNECTION-ID}-{SINK-ID} to be in line with the default group ID for Kafka sources. Importantly, the new default includes the region ID, which makes it possible to point multiple Materialize environments at the same Kafka cluster without conflicts. This is a backwards incompatible change, so this commit adds a migration to keep the group and transacitonal IDs for existing Kafka sinks the same. Fix #11357. Fix #23198.
- Loading branch information
Showing
30 changed files
with
453 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -382,6 +382,7 @@ Tpch | |
Trace | ||
Trailing | ||
Transaction | ||
Transactional | ||
Trim | ||
True | ||
Tunnel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.