Examining Producers and Consumers
Explore the producer-consumer pattern, its benefits in event-driven systems, and understand its adoption curve for effective application development.
We'll cover the following...
The producer-consumer pattern might be more familiar under a different moniker— Publish-Subscribe or pub-sub. While the terminology might differ, the intent behind the messaging pattern is the same. There are components that produce (or publish) events, and there are components that consume (or subscribe to) events. As mentioned in The Sample Application, different mechanisms can support event-based messaging patterns.
Note: We’ve already established that we’ll be using Kafka as the primary mechanism for sourcing events, but if you’ve never used streaming technology before, it might be challenging to understand how streaming is relevant to communication patterns. ...