Lin Lin

Il giorno ven 6 mag 2022 alle ore 16:51 Lin Lin <lin...@apache.org> ha scritto:
>
> The addition of this feature looks like a matter of consumer selection.
> Should the consumer selection of each Dispatcher be abstracted into an 
> extensible interface?

This would be useful and a great addition, but actually it will need a
deeper refactor of the Shared (or Key Shared) Dispatcher.
I think that for the long term we can think about adding some
ConsumerSelector interface, but it is very hard, especially because:
- we already have very complex dispatching features (flow control,
priority...) and for Key Shared it is even harder, so adding a
Pluggable part is very challenging (if you do not want to lose the
benefits of existing code)
- I need actually a mix of ConsumerSelector + Filter, that could be
implemented as a ConsumerSelector that selects "drop message" as
outcome, but it is something to be designed carefully


Enrico

>
> Thanks
> Lin Lin

Reply via email to