For publishing, I used rest endpoint. Publishers will send topic and a message to my endpoint. Once I receive a request I send the message to RabbitMQ using spring rabbitTemplate bean. Is this a good approach in terms of scaling for publishers? If so, how can I extend the same design for consumers? Should I create a get endpoint and ask consumers to call it?
Aucun commentaire:
Enregistrer un commentaire