-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INVALID_FETCH_SESSION_EPOCH - Sending LeaveGroup request to coordinator #323
Comments
Even trying this:
Still getting:
|
I also encountered the same situation. |
This seems related to this kafka bug https://issues.apache.org/jira/browse/KAFKA-8052 |
input and output kafka plugins have been released with kafka client 2.3.0: https://github.com/logstash-plugins/logstash-input-kafka/blob/master/CHANGELOG.md#910 |
@jsvd is this a client side bug only or server side? I'm guessing it's client side so upgrading logstash to use the 2.3.0 plugin with 2.1.0 server should fix the issue? |
@cdenneen looking at apache/kafka#6582 seems to be the client side, so upgrading should fix it. That said I'm no kafka expert, I've just been scouring exception messages and hunting open/closed issues :D |
I updated the Logstash plugins today, and I no longer see the INVALID_FETCH_SESSION_EPOCH messages on the logs, so looking good to me. But, contrary to what someone mentioned above, I was still able to consume at high rate before the update, and from what I understand from KAFKA-8052 it would just cause retries. |
@voiprodrigo You are right. |
I am getting the same errror. 2019-08-22 14:15:03.458 INFO 3193 --- [pool-1-thread-1] o.a.k.c.FetchSessionHandler : [Consumer clientId=consumer-1, groupId=aaaa2] Error sending fetch request (sessionId=INVALID, epoch=INITIAL) to node 3: org.apache.kafka.common.errors.DisconnectException. upgraded to latest version of kafka still not working , i am not even able to establish a initial connection also |
Seeing this. What was the solution? |
@ashishbhumireddy , did you solve this issue? I've got the same one. |
I've posted this on the forum (along with many other people but no responses and closed disussions):
https://discuss.elastic.co/t/kafka-invalid-fetch-session-epoch/187441
I've tried checking the logstash Monitoring API but I don't see anything here to correlate this plugin isn't working anymore after it "Leaves" so I am stuck arbitrarily looking through log output for LeaveGroup string in order to determine that I must restart logstash.
The text was updated successfully, but these errors were encountered: