Skip to content

Commit 3391f93

Browse files
authored
Merge pull request #87187 from gholliday/eventhub-kafka-sasauth
Clarify in docs that Event Hubs for Kafka does not support SAS token authentication
2 parents 93f5a82 + da6acdc commit 3391f93

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

articles/event-hubs/apache-kafka-frequently-asked-questions.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ sections:
3838
- They fully distinct from Event Hubs consumer groups. You **don't** need to use '$Default', nor do you need to worry about Kafka clients interfering with AMQP workloads.
3939
- They aren't viewable in the Azure portal. Consumer group info is accessible via Kafka APIs.
4040
41+
- question: |
42+
Does Azure Event Hubs for Apache Kafka support shared access signature token authentication?
43+
answer: |
44+
Authenticating by using [OAuth 2.0 and shared access signature](event-hubs-for-kafka-ecosystem-overview.md#security-and-authentication) is supported.
45+
46+
Shared access signature tokens are [generated](authenticate-shared-access-signature.md#generate-a-shared-access-signature-token) by using an authorization rule and one of its signing keys. This is not supported when using the Event Hubs for Apache Kafka endpoint.
47+
4148
additionalContent: |
4249
4350
## Next steps

articles/event-hubs/event-hubs-for-kafka-ecosystem-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule require
7979
> [!NOTE]
8080
> When using SAS authentication with Kafka clients, established connections aren't disconnected when the SAS key is regenerated.
8181
82+
> [!NOTE]
83+
> [Generated shared access signature tokens](authenticate-shared-access-signature.md#generate-a-shared-access-signature-token) are not supported when using the Event Hubs for Apache Kafka endpoint.
8284
8385
#### Samples
8486
For a **tutorial** with step-by-step instructions to create an event hub and access it using SAS or OAuth, see [Quickstart: Data streaming with Event Hubs using the Kafka protocol](event-hubs-quickstart-kafka-enabled-event-hubs.md).

0 commit comments

Comments
 (0)