You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-hubs/apache-kafka-frequently-asked-questions.yml
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ metadata:
4
4
description: This article answers frequent questions asked about Azure Event Hubs' support for Apache Kafka clients not covered elsewhere.
5
5
ms.topic: faq
6
6
ms.service: event-hubs
7
-
ms.date: 09/20/2021
7
+
ms.date: 10/14/2022
8
8
title: Frequently asked questions - Event Hubs for Apache Kafka
9
9
summary: This article provides answers to some of the frequently asked questions on migrating to Event Hubs for Apache Kafka.
10
10
@@ -15,24 +15,24 @@ sections:
15
15
- question: |
16
16
Does Azure Event Hubs run on Apache Kafka?
17
17
answer: |
18
-
No. Azure Event Hubs is a cloud-native multi-tier broker with support for multiple protocols that is developed and maintained by Microsoft and does not use any Apache Kafka code. One of the supported protocols is the Kafka RPC protocol for the Kafka client's consumer and producer APIs. Event Hubs works with many of your existing Kafka applications. For more information, see [Event Hubs for Apache Kafka](event-hubs-for-kafka-ecosystem-overview.md). Because the concepts of Apache Kafka and Azure Event Hubs are very similar (but not identical), we are able to offer the unmatched reliability of Azure Event Hubs to customers with existing Apache Kafka investments.
18
+
No. Azure Event Hubs is a cloud-native multi-tier broker with support for multiple protocols that is developed and maintained by Microsoft and doesn't use any Apache Kafka code. One of the supported protocols is the Kafka RPC protocol for the Kafka client's consumer and producer APIs. Event Hubs works with many of your existing Kafka applications. For more information, see [Event Hubs for Apache Kafka](event-hubs-for-kafka-ecosystem-overview.md). Because the concepts of Apache Kafka and Azure Event Hubs are very similar (but not identical), we're able to offer the unmatched reliability of Azure Event Hubs to customers with existing Apache Kafka investments.
19
19
20
20
- question: |
21
21
Event Hubs consumer group vs. Kafka consumer group
22
22
answer: |
23
-
What's the difference between an Event Hub consumer group and a Kafka consumer group on Event Hubs? Kafka consumer groups on Event Hubs are fully distinct from standard Event Hubs consumer groups.
23
+
What's the difference between an Event Hubs consumer group and a Kafka consumer group on Event Hubs? Kafka consumer groups on Event Hubs are fully distinct from standard Event Hubs consumer groups.
24
24
25
25
**Event Hubs consumer groups**
26
26
27
-
- They are Managed with create, retrieve, update, and delete (CRUD) operations via portal, SDK, or Azure Resource Manager templates. Event Hubs consumer groups can't be autocreated.
28
-
- They are children entities of an event hub. It means that the same consumer group name can be reused between event hubs in the same namespace because they're separate entities.
27
+
- They're Managed with create, retrieve, update, and delete (CRUD) operations via portal, SDK, or Azure Resource Manager templates. Event Hubs consumer groups can't be autocreated.
28
+
- They're children entities of an event hub. It means that the same consumer group name can be reused between event hubs in the same namespace because they're separate entities.
29
29
- They aren't used for storing offsets. Orchestrated AMQP consumption is done using external offset storage, for example, Azure Storage.
30
30
31
31
**Kafka consumer groups**
32
32
33
-
- They are autocreated. Kafka groups can be managed via the Kafka consumer group APIs.
33
+
- They're autocreated. Kafka groups can be managed via the Kafka consumer group APIs.
34
34
- They can store offsets in the Event Hubs service.
35
-
- They are used as keys in what is effectively an offset key-value store. For a unique pair of `group.id` and `topic-partition`, we store an offset in Azure Storage (3x replication). Event Hubs users don't incur extra storage costs from storing Kafka offsets. Offsets are manipulable via the Kafka consumer group APIs, but the offset storage *accounts* aren't directly visible or manipulable for Event Hub users.
35
+
- They're used as keys in what is effectively an offset key-value store. For a unique pair of `group.id` and `topic-partition`, we store an offset in Azure Storage (3x replication). Event Hubs users don't incur extra storage costs from storing Kafka offsets. Offsets are manipulable via the Kafka consumer group APIs, but the offset storage *accounts* aren't directly visible or manipulable for Event Hubs users.
36
36
- They span a namespace. Using the same Kafka group name for multiple applications on multiple topics means that all applications and their Kafka clients will be rebalanced whenever only a single application needs rebalancing. Choose your group names wisely.
37
37
- 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.
38
38
- They aren't viewable in the Azure portal. Consumer group info is accessible via Kafka APIs.
@@ -42,7 +42,12 @@ sections:
42
42
answer: |
43
43
Authenticating by using [OAuth 2.0 and shared access signature](event-hubs-for-kafka-ecosystem-overview.md#security-and-authentication) is supported.
44
44
45
-
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.
45
+
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. It isn't supported when using the Event Hubs for Apache Kafka endpoint.
46
+
47
+
- question: |
48
+
Does Azure Event Hubs support Apache Kafka idempotent producers and consumers?
Copy file name to clipboardExpand all lines: articles/event-hubs/event-hubs-for-kafka-ecosystem-overview.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Use event hub from Apache Kafka app - Azure Event Hubs | Microsoft Docs
3
3
description: This article provides information on Apache Kafka support by Azure Event Hubs.
4
4
ms.topic: overview
5
-
ms.date: 06/27/2022
5
+
ms.date: 10/14/2022
6
6
---
7
7
8
8
# Use Azure Event Hubs from Apache Kafka applications
@@ -96,6 +96,12 @@ The Event Hubs for Apache Kafka feature is one of three protocols concurrently a
96
96
97
97
Additionally, Event Hubs features such as [Capture](event-hubs-capture-overview.md), which enables extremely cost efficient long-term archival via Azure Blob Storage and Azure Data Lake Storage, and [Geo Disaster-Recovery](event-hubs-geo-dr.md) also work with the Event Hubs for Kafka feature.
98
98
99
+
## Idempotency
100
+
101
+
Event Hubs for Apache Kafka supports both idempotent producers and idempotent consumers.
102
+
103
+
One of the core tenets of Azure Event Hubs is the concept of **at-least once** delivery. This approach ensures that events will always be delivered. It also means that events can be received more than once, even repeatedly, by consumers such as a function. For this reason, it's important that the consumer supports the [idempotent consumer](https://microservices.io/patterns/communication-style/idempotent-consumer.html) pattern.
104
+
99
105
## Apache Kafka feature differences
100
106
101
107
The goal of Event Hubs for Apache Kafka is to provide access to Azure Event Hubs capabilities to applications that are locked into the Apache Kafka API and would otherwise have to be backed by an Apache Kafka cluster.
0 commit comments