-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] In KafkaMessageChannelBinder
pass the extendedConsumerProperties
as an argument to ListenerContainerWithDlqAndRetryCustomizer
#2985
Comments
If I understand you correctly you can inject |
Hi Oleg, thanks for getting back to me. Yes, this is what we currently do, however, there are situations where it is not possible to uniquely identify a consumer based on the destination and group. i.e. If we have more than one consumer configured for a destination without a group specified i.e. an anonymous consumer group. While we can filter by group and destination, as described above, this approach is cumbersome and error prone. It'd be a lot easier to have the |
We have |
If you have access to the binder instance there is an |
That's correct, I'm looking for access to the I think an overload of the |
Ok, how would you know which binder instance are you using? I mean if we were to inject something or overload a method we would need to know that |
The Looking through the code we call |
Dear devs,
In
org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder#createConsumerEndpoint()
We have the following snippet:
I would like to pass the
extendedConsumerProperties
as an argument to an overload ofListenerContainerWithDlqAndRetryCustomizer#configure()
.It may be sensible to do the same for
ListenerContainerCustomizer
too.This is to get access to all of the properties available, including the bindingName, which users can use to configure their custom error-handling strategy more easily.
Kind regards,
Luke
The text was updated successfully, but these errors were encountered: