What are publishers or producers?
A publisher is any component, service, or program that creates and sends messages or data to a communication channel, system, or topic.
It doesn’t need to know who will receive the data — it just makes the information available.
The message can be any structure — it doesn’t have to be a key–value pair.
What is the primary role of Kafka?
Kafka acts as a distributed event streaming platform for high-throughput data pipelines.
True or false: Kafka is designed for real-time data processing.
TRUE
Kafka allows for processing streams of records in real-time.
Fill in the blank: Kafka uses a ________ to store messages.
topic
What is a producer in Kafka?
A client application that sends records to a Kafka topic.
Define consumer in the context of Kafka.
A client application that reads records from a Kafka topic.
What does partitioning in Kafka achieve?
It allows for parallel processing and scalability by dividing topics into multiple segments.
True or false: Kafka guarantees message ordering within a partition.
TRUE
What is a Kafka cluster?
A group of Kafka brokers working together to manage message streams.
Define offset in Kafka.
A unique identifier for each message within a partition, indicating its position.
What is the purpose of replication in Kafka?
To ensure data durability and availability by duplicating messages across multiple brokers.
Fill in the blank: Kafka’s ________ API allows for stream processing.
Streams
What is a consumer group?
A group of consumers that share the workload of reading from a topic.
True or false: Kafka supports exactly-once message delivery semantics.
TRUE
What does Kafka Connect do?
It simplifies the integration of Kafka with external systems for data import/export.
Define schema registry in Kafka.
A service that stores and manages schemas for Kafka messages, ensuring compatibility.
What is the purpose of Kafka Streams?
To process and analyze data in real-time directly within Kafka.
Fill in the blank: Zookeeper is used by Kafka for ________ management.
cluster
What is a log segment in Kafka?
A file that contains a portion of the messages for a Kafka topic partition.
True or false: Kafka can handle both batch and stream processing.
TRUE
What is the retention policy in Kafka?
Rules that determine how long messages are stored before being deleted.
Define kafka-console-producer.
A command-line tool to send messages to a Kafka topic for testing.
What is backpressure in streaming systems?
A mechanism to slow down data production when consumers cannot keep up.
Fill in the blank: Kafka’s durability is achieved through ________.
replication