jpalmerr opened a new pull request, #23870:
URL: https://github.com/apache/kafka/pull/23870

   Adds a NetworkClientTest case reproducing KAFKA-21309, as asked on the dev@
   list.
   
   A consumer subscribed with SubscriptionPattern sends Metadata requests by
   the IDs of its assigned topics. When one of those topics is deleted, the
   broker answers its ID with UNKNOWN_TOPIC_ID and a null name, which the
   schema allows from v12. DefaultMetadataUpdater.handleSuccessfulResponse
   calls MetadataResponse.errors(), which reads errors by topic name and
   throws IllegalStateException on the null name.
   
   The test sends a Metadata request by topic ID, answers it with such a row,
   and expects the response not to throw. It currently fails with the
   IllegalStateException.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to