Logstash Kafka Input Plugin consumer not reading messages of Kafka topic

Kafka 0.9 filebeats 5.1 LogstashIndexer: 5.0.2 with Kafka Input plugin

log process generated a 40 mil lag and consumer stopped consuming. Tried restarts and config changes but No luck.
Not sure when it stopped processing but want to consume all those messages. Any help is really appreciated.

Kafka input plugin Conf
input {
kafka {
bootstrap_servers => "url"
topics => ["logstash_topic"]
client_id => " "
group_id => "groupid"
consumer_threads => 1
auto_offset_reset => "earliest"
enable_auto_commit => "true"
type => "access_core"
session_timeout_ms => "30000"
heartbeat_interval_ms => "1000"
auto_commit_interval_ms => "5000"
poll_timeout_ms => "600"
codec => json
}

info logs
[ERROR][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator] Error ILLEGAL_GENERATION occurred while committing offsets for group logstash_topic
[WARN ][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator] Auto offset commit failed: Commit cannot be completed due to group rebalance
[ERROR][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator] Error ILLEGAL_GENERATION occurred while committing offsets for group logstash_topic
[WARN ][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator] Auto offset commit failed:
[INFO ][org.apache.kafka.clients.consumer.internals.AbstractCoordinator] Marking the coordinator 2147483583 dead.

Seems as if you are experiencing this: comment on Kafka JIRA issue

My interpretation of this: your LS filter/ouputs stall. This causes backpressure meaning that the LS kafka input threads are blocked waiting to push events into the LS queue and while they are doing this they are not polling.

Use the LS monitoring API to verify that the filters/outputs have not stalled.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.