Closed tech7857 closed 3 years ago
Hi
We are regularly receiving the below error in our Kafka consumer. We are unable to fix this.
Local: Maximum application poll interval (max.poll.interval.ms) exceeded
Can you please help us in resolving this. Consumer config
BootstrapServers = xxxx, GroupId = xxxxx, EnableAutoCommit = false, StatisticsIntervalMs = 5000, SessionTimeoutMs = 6000, MaxPollIntervalMs = 30000, AutoOffsetReset = AutoOffsetReset.Earliest, EnablePartitionEof = true
Code Snippet
using (var consumer = new ConsumerBuilder<Ignore, string>(KafkaConfig).SetErrorHandler(ErrorHandler) .Build()) { consumer.Subscribe(KafkaTopic);
Closing
Hi
We are regularly receiving the below error in our Kafka consumer. We are unable to fix this.
Local: Maximum application poll interval (max.poll.interval.ms) exceeded
Can you please help us in resolving this. Consumer config
BootstrapServers = xxxx, GroupId = xxxxx, EnableAutoCommit = false, StatisticsIntervalMs = 5000, SessionTimeoutMs = 6000, MaxPollIntervalMs = 30000, AutoOffsetReset = AutoOffsetReset.Earliest, EnablePartitionEof = true
Code Snippet
using (var consumer = new ConsumerBuilder<Ignore, string>(KafkaConfig).SetErrorHandler(ErrorHandler) .Build()) { consumer.Subscribe(KafkaTopic);