Kafka can not push notifications to consumers. Consumers have to keep polling/consuming messages in order to receive them. This is the only way messages stored in Kafka can flow to consumers.
The notification email service consumes email requests from the Kafka notification topic and processes them to send them to a third-party service. Modules like PT, TL, PGR etc make use of this service to send messages through the Kafka Queue.
Kafka stands out for its ability to handle high throughput and provide scalability, fault tolerance, and message retention. These features make Kafka ideal for a notification system where reliability and real-time processing are crucial.
Complete the following steps to receive messages that are published on a Kafka topic: Create a message flow containing a KafkaConsumer node and an output node. Configure the KafkaConsumer node by setting the following properties: On the Basic tab, set the following properties: