How does this compare with systems like Kafka and RabbitMQ?
How does this library compare with the usage of systems like Kafka and RabbitMQ as message transporters? Particularly in terms of performance and security.
Edit: just took a look at the code, it seems like this library doesn't do what I thought. So is it accurate to say that it's a sync RWMutex wrapper utility? How can one use it to establish connection between microservices, if at all possible?
hi @omerdn1
sorry for late reply, just noticed this question.
for messaging between multiple services you can have a look at my example implementations of:
https://github.com/vardius/pubsub
and
https://github.com/vardius/pushpull
otherwise this library requires you to subscribe and publish messages within same code base
i use it for cqrs within my service as a command handlers or as a domain event handlers with internal service ddd structure
if you want to see example for this have a look on this repo: https://github.com/vardius/go-api-boilerplate