-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish/Subscribe pattern #2898
Comments
I would like to take this issue. |
Can I use Java Message Service to implement the pattern? |
Sure, that should work fine |
I have an implementation of the pattern. However I am finding it difficult to test since the implementation is quite basic given the asynchronous/threading code is handled by JMS which shouldn't be tested since its a third party software. I can create a pull request and the current tests can be viewed, perhaps you'll find it satisfactory. If not, I am happy to receive criticism to improve my testing, it can improve my knowledge. |
Sure, let's see what you have |
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. |
Hi, I would like to give this a try. |
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. |
Hi! I am interested in implementing this pattern as it is crucial for IOT applications, which I have started working on recently, and it would be a good contribution to this work. Could you please assign this issue to me? |
Hi @iluwatar , Could we use Kafka Producer/Consumer implementation instead of the JMS for this Pub/Sub design pattern? |
Introduce the Publish/Subscribe pattern to provide a flexible event-handling system.
The Publish/Subscribe pattern is a messaging paradigm used in software architecture with several key points:
Decoupling of publishers and subscribers: Publishers and subscribers operate independently, and there's no direct link between them. This enhances the scalability and modularity of applications.
Event-driven communication: The pattern facilitates event-driven architectures by allowing publishers to broadcast events without concerning themselves with who receives the events.
Dynamic subscription: Subscribers can dynamically choose to listen for specific events or messages they are interested in, often by subscribing to a particular topic or channel.
Asynchronous processing: The pattern inherently supports asynchronous message processing, enabling efficient handling of events and improving application responsiveness.
Scalability: By decoupling senders and receivers, the pattern can support a large number of publishers and subscribers, making it suitable for scalable systems.
Flexibility and adaptability: New subscribers or publishers can be added to the system without significant changes to the existing components, making the system highly adaptable to evolving requirements.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: