Apache Kafka
This guide shows you how to ingest a stream of records from an Apache Kafka topic into a Pinot table.
docker run \
--network pinot-demo --name=kafka \
-e KAFKA_ZOOKEEPER_CONNECT=pinot-zookeeper:2181/kafka \
-e KAFKA_BROKER_ID=0 \
-e KAFKA_ADVERTISED_HOST_NAME=kafka \
-p 2181:2181 \
-d wurstmeister/kafka:latestdocker exec \
-t kafka \
/opt/kafka/bin/kafka-topics.sh \
--zookeeper pinot-zookeeper:2181/kafka \
--partitions=1 --replication-factor=1 \
--create --topic transcript-topicbin/pinot-admin.sh StartKafka -zkAddress=localhost:2181/kafka -port 9092bin/kafka-topics.sh --create --bootstrap-server kafka:9092 --replication-factor 1 --partitions 1 --topic transcript-topicCreate schema configuration
Create table configuration
Upload schema and table
Add sample data to the Kafka topic
Query the table
Kafka ingestion guidelines
Kafka versions in Pinot
Upgrade from Kafka 0.9 connector to Kafka 2.x connector
How to consume from a Kafka version > 2.0.0
Kafka configurations in Pinot
Use Kafka partition (low) level consumer with SSL
Consume transactionally-committed messages
Use Kafka partition (low) level consumer with SASL_SSL
Extract record headers as Pinot table columns
Kafka Record
Pinot Table Column
Description
Tell Pinot where to find an Avro schema
Was this helpful?

