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

   *What*
   
   - Currently if we received extraneous topic partitions in the response or if 
the response was missing some partitions requested, we were processing the 
response as it came and even populated the callback with these partitions.
   
   - These invalid responses should be parsed at the 
`ShareConsumeRequestManager`. 
   
   - If the response missed any acknowledgements for partitions that were 
requested, then we fail the request with `InvalidRecordStateException` and 
populate the callbacks.
   
   - For any extraneous partitions in the response, we log an error and ignore 
them.
   
   Some refactors are also done in this PR in ShareConsumeRequestManager to 
make the code more readable.


-- 
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