[
https://issues.apache.org/jira/browse/KAFKA-14255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618868#comment-17618868
]
David Jacot commented on KAFKA-14255:
-------------------------------------
Raised the following tickets for impacted clients:
* https://github.com/Shopify/sarama/issues/2365
* https://github.com/tulios/kafkajs/issues/1464
> 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
> Priority: Critical
>
> 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)