You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2022/09/22 08:26:00 UTC
[jira] [Created] (KAFKA-14255) Fetching from follower should be disallowed if fetch from follower is disabled
David Jacot created KAFKA-14255:
-----------------------------------
Summary: Fetching from follower should be disallowed if fetch from follower is disabled
Key: KAFKA-14255
URL: https://issues.apache.org/jira/browse/KAFKA-14255
Project: Kafka
Issue Type: Bug
Affects Versions: 2.4.0
Reporter: David Jacot
Assignee: David Jacot
There are clients out there that have implemented KIP-392 (Fetch From Follower) and thus use FetchRequest >= 11. However, they have not implemented KIP-320 which add the leader epoch to the FetchRequest in version 9. Without KIP-320, it is not safe to fetch from the follower. If a client does it by mistake – e.g. based on stale metadata – that could lead to offset out of range.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)