confluent-kafka-dotnet icon indicating copy to clipboard operation
confluent-kafka-dotnet copied to clipboard

Confluent.Kafka.ConsumeException: Local: Broker transport failure

Open SmAnbu opened this issue 5 years ago • 6 comments

Description

We are experiencing the below error intermittently

Confluent.Kafka.ConsumeException: Local: Broker transport failure at Confluent.Kafka.Consumer2.ConsumeImpl[K,V](Int32 millisecondsTimeout, IDeserializer1 keyDeserializer, IDeserializer1 valueDeserializer) at Confluent.Kafka.Consumer2.Consume(CancellationToken cancellationToken) at

just want to know whether this issue related to timeout or some other issue? If in case timeout related then i can ignore this issue. If other type of issue means how to handle?

How to reproduce

This issue is intermittent issue.
Session time out in the consumer config : SessionTimeoutMs = 100000 other configurations are default

Checklist

Please provide the following information:

  • [ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
  • [ ] Confluent.Kafka nuget version.
  • [ ] Apache Kafka version.
  • [ ] Client configuration.
  • [ ] Operating system.
  • [ ] Provide logs (with "debug" : "..." as necessary in configuration).
  • [ ] Provide broker log excerpts.
  • [ ] Critical issue.

SmAnbu avatar Dec 12 '19 01:12 SmAnbu

I have same issue.

Local: Broker transport failure Confluent.Kafka.ConsumeException: Local: Broker transport failure at Confluent.Kafka.Consumer2.ConsumeImpl[K,V](Int32 millisecondsTimeout, IDeserializer1 keyDeserializer, IDeserializer1 valueDeserializer) at Confluent.Kafka.Consumer2.Consume(CancellationToken cancellationToken)

Same code works without issue on other machines

yinbiaoh avatar Apr 30 '20 13:04 yinbiaoh

I believe this is a retriable error that librdkafka is incorrectly exposing to the application, but which it is otherwise handling correctly. I believe there will be no adverse effects to just ignoring it.

fyi: @edenhill - need to fix this.

mhowlett avatar Apr 30 '20 14:04 mhowlett

We have the same issue. Any updates on that?

moecia avatar Jul 13 '21 13:07 moecia

Fixed yet?

johnkwaters avatar Jun 18 '22 20:06 johnkwaters

i don't think so

mhowlett avatar Jun 20 '22 02:06 mhowlett

Hello, same issue here, any updates ?

jbressand avatar Nov 06 '23 10:11 jbressand