Jason Gustafson created KAFKA-7347: -------------------------------------- Summary: Wrong error code returned for OffsetsForLeaderEpoch from follower/non-replica Key: KAFKA-7347 URL: https://issues.apache.org/jira/browse/KAFKA-7347 Project: Kafka Issue Type: Bug Reporter: Jason Gustafson Assignee: Jason Gustafson
If a follower or a non-replica receives the OffsetsForLeaderEpoch request, we should return NOT_LEADER_FOR_PARTITION. Currently we do not return an error for followers and for non-replicas, we return UNKNOWN_TOPIC_OR_PARTITION. -- This message was sent by Atlassian JIRA (v7.6.3#76005)