KC.H created KAFKA-20669:
----------------------------

             Summary: Fix Consumer propagates stale 
TopicAuthorizationException/InvalidTopicException after subscription change
                 Key: KAFKA-20669
                 URL: https://issues.apache.org/jira/browse/KAFKA-20669
             Project: Kafka
          Issue Type: Bug
          Components: clients
            Reporter: KC.H


Problem-maybeFailOnMetadataError and
OffsetsRequestManager.maybeCompleteWithPreviousException propagate
stored metadata errors without checking if they still apply to the
consumer's current topics. After assign() or subscribe()
switchestopics, the next AsyncPollEvent can inherit a stale
TopicAuthorizationException or InvalidTopicException. This blocked
the consumer group protocol rows of
testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to