iluwatar / java-design-patterns

Design patterns implemented in Java
https://java-design-patterns.com
Other
89.54k stars 26.47k forks source link

Microservice pattern: Messaging #2681

Open iluwatar opened 11 months ago

iluwatar commented 11 months ago

Description:

The Microservices - Messaging design pattern enables microservices to communicate with each other through asynchronous message passing, allowing for better decoupling and scalability. This pattern involves the use of a message broker to facilitate communication between services, ensuring that messages are delivered reliably even if some services are temporarily unavailable. The main elements of this pattern include message producers, message consumers, and the message broker.

Key elements:

References:

Acceptance Criteria:

  1. Implement message producer and consumer services using a message broker such as Apache Kafka or RabbitMQ.
  2. Ensure that the system can handle asynchronous communication and maintain message integrity and reliability.
  3. Provide comprehensive unit and integration tests to verify that messages are correctly produced, routed, and consumed.
pandiandk commented 11 months ago

I am working on this

pandiandk commented 11 months ago

@iluwatar Could you please assign this to me ? already raised the PR :)

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.

c99SRS commented 2 days ago

@iluwatar can you please assign this to me? I think I can do this by my backed domain expertise