docs: update Kafka connection examples for BOOTSTRAP BROKER syntax#36163
Open
jubrad wants to merge 1 commit intoMaterializeInc:mainfrom
Open
docs: update Kafka connection examples for BOOTSTRAP BROKER syntax#36163jubrad wants to merge 1 commit intoMaterializeInc:mainfrom
jubrad wants to merge 1 commit intoMaterializeInc:mainfrom
Conversation
d148ddd to
bd192ec
Compare
6 tasks
effe4f2 to
bfb1f96
Compare
jubrad
commented
Apr 21, 2026
Comment on lines
+164
to
+168
| BROKERS ( | ||
| MATCHING '*.use1-az1.*' USING AWS PRIVATELINK confluent_privatelink (AVAILABILITY ZONE = 'use1-az1'), | ||
| MATCHING '*.use1-az4.*' USING AWS PRIVATELINK confluent_privatelink (AVAILABILITY ZONE = 'use1-az4'), | ||
| MATCHING '*.use1-az6.*' USING AWS PRIVATELINK confluent_privatelink (AVAILABILITY ZONE = 'use1-az6') | ||
| ), |
Contributor
Author
bfb1f96 to
df4288e
Compare
jubrad
added a commit
that referenced
this pull request
Apr 27, 2026
## Follow up of #35455 ## Summary - Adds `BOOTSTRAP BROKER 'addr' USING AWS PRIVATELINK conn (...)` — new top-level option that provides the initial bootstrap address with an explicit PrivateLink tunnel, preserving the real hostname for correct TLS SNI - Adds `MATCHING 'pattern' USING AWS PRIVATELINK conn (...)` inside `BROKERS (...)` — pattern-based routing rules for dynamically discovered brokers returned in Kafka metadata - Replaces the `AWS PRIVATELINKS` syntax which used a `TO` keyword inconsistent with the existing `USING AWS PRIVATELINK` syntax and overloaded exact-match patterns as implicit bootstrap addresses - Updates parser, planner, and storage layer to support the new constructs ### Example ```sql CREATE CONNECTION kafka TO KAFKA ( BROKERS ( 'lkc-825730.endpoint.cloud:9092' USING AWS PRIVATELINK pl_conn, MATCHING '*use1-az1*' USING AWS PRIVATELINK pl_conn (AVAILABILITY ZONE 'use1-az1'), MATCHING '*use1-az4*' USING AWS PRIVATELINK pl_conn (AVAILABILITY ZONE 'use1-az4'), MATCHING '*use1-az6*' USING AWS PRIVATELINK pl_conn (AVAILABILITY ZONE 'use1-az6') ), SASL MECHANISMS 'PLAIN', SASL USERNAME 'key', SASL PASSWORD SECRET secret, SECURITY PROTOCOL 'SASL_SSL' ); ``` ## Test plan - [x] Parser tests updated (roundtrip, error cases) - [x] Testdrive updated (connection-create-drop, connection-alter) - [x] `cargo check` passes - [x] Cloudtest validation ([see follow-up PR](#36162)) - [ ] Manual testing against Confluent Cloud PrivateLink ## Docs - [ ] #36163 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9b5f471 to
cb4f19f
Compare
Updates user-facing documentation to show the new MATCHING broker rules syntax for Kafka PrivateLink connections. Adds a PrivateLink tab to the Confluent Cloud guide. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cb4f19f to
f60a3f8
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Depends on #36161. Merge that first.
BOOTSTRAP BROKERandMATCHINGbroker rules syntax for Kafka PrivateLink connectionscreate-connection.mdandcreate_connection.ymlTest plan
🤖 Generated with Claude Code