-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
115806: changefeedccl: support azure-event-hub:// for azure kafka streaming r=jayshrivastava a=wenyihu6 **changefeedccl: support azure-event-hub:// for azure kafka streaming** Previously, users had to navigate the complexities of obtaining azure event hub's kafka endpoint and the corresponding sasl_user and sasl_password for azure streaming. This patch improves it to support a new scheme azure-event-hub:// with the following syntax: ``` azure-event-hub://<NamespaceName>.servicebus.windows.net?shared_access_key_name=<KeyName>&shared_access_key=<KeyValue> ``` azure-event-hub:// can now be used to connect to kafka hosted on Azure event hubs. The sinkURL must include mandatory parameters shared_access_key_name and shared_access_key. By default and by requirements, the options "tls_enabled=true," "sasl_handshake=true," "sasl_enabled=true," and "sasl_mechanism=PLAIN" are applied, as they are the only supported options. Other parameters such as "topic_name", and "topic_prefix" are also supported. Resolves: #103901, #110558 Release note (enterprise change): Changefeeds now support a new scheme azure-event-hub:// for kafka data streaming to azure event hubs. The sinkURL must include mandatory parameters shared_access_key_name and shared_access_key. By default and by requirements, the options "tls_enabled=true," "sasl_handshake=true," "sasl_enabled=true," and "sasl_mechanism=PLAIN" are applied, as they are the only supported options. Other parameters such as "topic_name", and "topic_prefix" are also supported. An example URI is: ``` azure-event-hub://myeventhubs.servicebus.windows.net:9093?shared_access_key_name=abc&shared_access_key=123 ``` --- **changefeedccl: redact shared_access_key from SHOW JOBS** Now that we support azure-event-hub:// scheme, this patch redacts shared_access_key info for azure event hub from SHOW JOBS output. See also: #103901 Epic: None Release note: None --- **roachtest/cdc: add roachtest for azure-event-hub://** This patch adds a roachtest for kafka streaming using azure-event-hub://. Co-authored-by: Wenyi Hu <wenyi@cockroachlabs.com>
- Loading branch information
Showing
8 changed files
with
187 additions
and
19 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
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