adrianriobo/qe-eventmanager

[Bug] Multiple handler for same topic

adrianriobo opened this issue · 0 comments

Currently each flow definition will create its own subscription, the subscription consumer id are created the same...so only one handler will get the message.

Quick fix can be created adding some extra suffix or prefix to the consumer id per flow definition.

The best approach although (performance) would be parse the flow definitions and aggregate the handling to avoid multiple subscriptions to same topic, but having one subscription with multiple handlers