You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/04/29 19:44:00 UTC

[jira] [Created] (KAFKA-9938) Fix debug consumer read from follower for older protocol versions

Jason Gustafson created KAFKA-9938:
--------------------------------------

             Summary: Fix debug consumer read from follower for older protocol versions
                 Key: KAFKA-9938
                 URL: https://issues.apache.org/jira/browse/KAFKA-9938
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


In fetch requests, a sentinel of -2 for the replicaId is treated as a "debug consumer" and is allowed to fetch from followers. In KIP-392, we added the general ability to read from followers, but we require a newer version of the protocol. In the process of this change, we lost the ability for older version of the fetch protocol to use the "debug consumer" to read from followers. As far as I know the only place this capability is used is in the ReplicaVerificationTool. We don't expose this capability from the consumer. However, it is still technically a regression and should be fixed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)