eventuate-tram / eventuate-tram-core

Transactional messaging for microservices
Other
1.03k stars 185 forks source link

Missing publisher/subscriber mechanism for events/messages #83

Closed mix42 closed 4 years ago

mix42 commented 4 years ago

It is not possible to publish an event which will be handled more than one service. In other words if one service(Service A) publishes the event/message, and many other services are subscribed to this event (B and C), only one service will receive it.

Tested with MySql polling, kafka.

cer commented 4 years ago

Each consumer - B and C - should have its own subscriberId (which corresponds to Kafka consumer group Id)

mix42 commented 4 years ago

You are right. I was using the same subscriberId.

P.S. Thank you for the great book.

cer commented 4 years ago

No worries.

Glad you like my book. I hope you find Eventuate tram useful too!

mix42 commented 4 years ago

I like the framework very much and will promote it to be used in our projects!

cer commented 4 years ago

Excellent. Please don't hesitate to ask if you need assistance.