lucasbru commented on code in PR #14930:
URL: https://github.com/apache/kafka/pull/14930#discussion_r1422818505
##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java:
##########
@@ -482,6 +497,47 @@ private void process(final GroupMetadataUpdateEvent event)
{
requestManagersSupplier);
}
+ // auxiliary interface for testing
+ interface ApplicationEventHandlerSupplier {
Review Comment:
I want to inject a custom implementation of the applicationEventHandler. It
needs to work for both prod and testing so that we can actually test the code
we are running. The instantiation for prod depends on arguments that are
created inside the constructor of AsyncKafkaConsumer. If I do not define this
supplier, I cannot inject the constructor of the "real" ApplicationEventHandler
for prod.
--
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]