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

   When user-defined rebalance listeners fail with an exception, the 
expectation is that the error should be propagated to the user as a 
KafkaExpception and break the poll loop (behaviour in the legacy coordinator). 
The new consumer executes callbacks in the application thread, and sends an 
event to the background with the callback result and error if any, [passing the 
error along with the event 
here](https://github.com/apache/kafka/blob/98a658f871fc2c533b16fb5fd567a5ceb1c340b7/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java#L1882)
 to the background thread, but does not seem to propagate the exception to the 
user.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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