lianetm commented on PR #17440:
URL: https://github.com/apache/kafka/pull/17440#issuecomment-2508678301

   Hey @m1a2st , thanks for the updates, very nice result unifying how metadata 
errors are propagated. I'll take another close look. 
   
   One suggestion already: we can simplifying the tweak we had to introduce on 
the `unsubscribe` to ignore metadata errors (with your PR, they won't pop out 
unexpectedly), so I would say we can remove InvalidTopic and TopicAuth from 
here (leaving GroupAuth only)
   
https://github.com/apache/kafka/blob/7ca02fd90840535b22ad61517288a8dea6a39515/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java#L1584
   
   and remove these tests that cover an scenario that is not valid anymore
   
https://github.com/apache/kafka/blob/7ca02fd90840535b22ad61517288a8dea6a39515/clients/src/test/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumerTest.java#L273-L304
  
   
   Makes sense? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to