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
I am using aiokafka and it has been doing great job for a couple of months in
my project.
Recently I am preparing to use Azure Event Hubs. I considered aiokakfa can
work with Azure Event Hubs out of the box, because Azure Event Hubs says it is
compatible with Kafka. It mentions "Since it supports Apache Kafka, you bring
Kafka workloads to Azure Event Hubs without doing any code change." Wow.
But the thing is... when I am trying producing a message to the Azure Event Hubs
using AIOKafkaProducer, it fails finding coordinator and raises KafkaError.
Code
Here is minimal reproducible example of the problem.
I found it's okay if I don't pass transactional_id to the AIOKafkaProducer.
I guess the error incurs when I am using a kafka transaction feature because
Azure Event Hubs does not provide that feature.
Here is the document of Azure Event Hubs. This document says it lacks of
some Kafka features like transaction, compression and Kafka streams.
Hello
First of all, thanks for this nice project!
I am using
aiokafka
and it has been doing great job for a couple of months inmy project.
Recently I am preparing to use Azure Event Hubs. I considered
aiokakfa
canwork with Azure Event Hubs out of the box, because Azure Event Hubs says it is
compatible with Kafka. It mentions "Since it supports Apache Kafka, you bring
Kafka workloads to Azure Event Hubs without doing any code change." Wow.
But the thing is... when I am trying producing a message to the Azure Event Hubs
using
AIOKafkaProducer
, it fails finding coordinator and raisesKafkaError
.Code
Here is minimal reproducible example of the problem.
Log
And here is the debug console log.
Can anyone give me some idea to solve this problem?
Thanks,
The text was updated successfully, but these errors were encountered: