[Bug] Non-persistent failover topics are not notified on active consumer changes #23941
Open
3 tasks done
Labels
type/bug
The PR fixed a bug or issue reported a bug
Search before asking
Read release policy
Version
4.0
Minimal reproduce step
non-persistent
topic with a consumer and failover subscriptionI wrote a minimal test demonstrating that
persistent
andnon-persistent
consumers are treated differently.What did you expect to see?
I would expect consumers on
non-persistent
failover topics to be notified of active consumer changes similar to how they are notified inpersistent
topics.What did you see instead?
Consumers on
non-persistent
failover topics are not notified of active consumer changes.Anything else?
In looking at PersistentDispatcherSingleActiveConsumer.java, you can see that there is a call to notify consumers of the change. However, in NonPersistentDispatcherSingleActiveConsumer.java, no attempt is made to notify consumers of the change. Is this by design? I would expect the behaviors to be consistent.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: