Confluent.Kafka.ConsumeException: Unknown broker error #3769
Replies: 3 comments 9 replies
-
Please enable debugging by setting |
Beta Was this translation helpful? Give feedback.
-
logs.txt |
Beta Was this translation helpful? Give feedback.
-
Hi, I stored logs all day, and have no "Unknown broker error" in that logs, although it was caught in my error logs. And this is the screenshot for the error in my DB: And this is the Message content: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm using [azure-event-hubs-for-kafka], and sometimes getting this error when consume=>
Confluent.Kafka.ConsumeException: Unknown broker error
at Confluent.Kafka.Consumer`2.Consume(Int32 millisecondsTimeout)
How to reproduce
Using .NET 5 class library with Confluent.Kafka 1.8.2, and this error occurs also when using 1.6.2.
Is BrokerVersionFallback config property can help here?
Has it worked previously?
Sometimes getting this error, also in the previous versions.
Checklist
confluent-kafka-dotnet 1.82
ConsumerConfig { BootstrapServers = KafkaCredentials.BrokerList, SecurityProtocol = SecurityProtocol.SaslSsl, SocketTimeoutMs = 60000, SessionTimeoutMs = 30000, SaslMechanism = SaslMechanism.Plain, SaslUsername = "$ConnectionString", SaslPassword = KafkaCredentials.ConnectionString, GroupId = consumerGroup, AutoOffsetReset = AutoOffsetReset.Latest }
Beta Was this translation helpful? Give feedback.
All reactions