Description
Inside the consumer Fetcher's handling of ListOffsetResponse, if we hit `FENCED_LEADER_EPOCH` on partition level, the client will blindly retry without refreshing the metadata, creating a stuck state as the local leader epoch never gets updated and constantly fails the broker check.
The solution is to trigger metadata update upon receiving retriable errors, before we kick off another offset list.
Attachments
Issue Links
- links to