I have the following use cases:
- Assume you have two micro-services one AccountManagement and ActivityReporting that processes event U.
- When a user registers, event U containing the user information will published into a broker for the two micro-services to process.
- AccountManagement, and ActivityReporting microservice are replicated across two instances each for performance and scalability reasons.
- Each microservice instance has a consumer listening on the broker topic. The choice of topic is so that both AccountManagement, and ActivityReporting can process U concurrently.
However, I want only one instance of AccountManagement to process event U, and one instance of ActivityReporting to process event U.
Please share your experience implementing a Consume Once per Application Group, broker system.
As this would effectively solve this problem.