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.