Kafka Ingestion Example

This page provides an overview of how to create a simple Java Kafka producer that publishes data into a Kafka broker for consumption by the Stream Processor.

Kafka organizes streaming data into topics which are subdivided by numeric independent partitions.

Note

It is recommended for production deployments that Kafka be configured with TLS encryption. For a guide on setting up TLS with Kafka and the Stream Processor, refer to the Kafka with TLS guide.

This example is broken down into the following sections for setting up, running, and adding TLS.