Messaging system enables users to transfer data from one application to another or one device to another. The user is not concerned about the sharing medium as the focus is only on the data to be shared.
Typically, the queuing of messages between the user application and messaging system is based on a distributed system. In Apache Kafka, the publish-subscribe system allows the consumer or the receiver to obtain a message by subscribing to it from the producer, who publishes the message.
Two types of messaging patterns in the Kafka messaging system include -
- Point to point messaging System
- Publish-subscribe messaging System