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)