AndrewJSchofield opened a new pull request, #21265: URL: https://github.com/apache/kafka/pull/21265
When a topic with outstanding acknowledgements is deleted, SHARE_ACKNOWLEDGE fails with a topic-level UNKNOWN_TOPIC_ID error code. This error code was not being handled as an immediate failure, which meant that the request would be retried until it timed out. As a result, `ShareConsumer.commitSync()` failed with a `TimeoutException` for the partition, rather than `UnknownTopicIdException`. In addition, there was a mistake in `ShareInFlightBatch` which meant that an NPE occurred as the timeout was delivered. -- 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]
