Apache Kafka Quickstart Step 1: Get Kafka. Step 2: Start the Kafka environment. Step 3: Create a topic to store your events. Step 4: Write some events into the topic. Step 5: Read the events. Step 6: Import/export your data as streams of events with Kafka Connect. Step 7: Process your events with Kafka Streams.
To send a Kafka message, you call the SendKafkaMessage function and pass the Kafka data source, the name of the Kafka topic, the key of the Kafka message, the value of the message itself, and any additional Kafka properties as required.
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.
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.