chia7712 commented on PR #22270:
URL: https://github.com/apache/kafka/pull/22270#issuecomment-4560794288
> public interface RebalanceContext {
RebalanceConsumer consumer();
RebalanceCause cause();
Optional<String> reason();
}
`context.consumer().commit()` is a bit verbose to me. Maybe we could make
`RebalanceConsumer` return a context/metadata instead? Or we could rename
`RebalanceConsumer` to `RebalanceSession`, which makes it semantically
reasonable to flatten the composition
--
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]