Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kafka:// uri scheme as supported for Azure Event Hub sinks #18580

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/current/_includes/v24.1/cdc/azure-event-hubs-uri.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
~~~
'azure-event-hub://{event-hubs-namespace}.servicebus.windows.net:9093?shared_access_key_name={policy-name}&shared_access_key={url-encoded key}'
~~~

You can also use a `kafka://` scheme in the URI:

~~~
'kafka://{event-hubs-namespace}.servicebus.windows.net:9093?shared_access_key_name={policy-name}&shared_access_key={url-encoded key}'
~~~
2 changes: 1 addition & 1 deletion src/current/v24.1/changefeed-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ In this example, you'll set up a changefeed for a single-node cluster that is co
1. To send changefeed messages to your Event Hub, you will need a `shared_access_key`. Find **Shared access policies** in the left-hand navigation. Click **+ Add** and provide a name for the policy as well as confirming the permissions. Once created, click on the policy name and then copy the **Primary key** — you will need this to create your changefeed.

1. Build the connection string to your Event Hub. You will need the following:
- The `azure-event-hub://` URI scheme.
- The `azure-event-hub://` or `kafka://` URI scheme.
- The **Host name** from your Event Hubs namespace overview page. It will be something like: `{your-event-hubs-namespace}.servicebus.windows.net`.
- The port `:9093` for the Kafka protocol.
- The `shared_access_key_name` parameter with the name of your policy.
Expand Down
Loading