Junior — Middle
Can you list the main objects and components used in Apache Kafka?
sobes.tech AI
Answer from AI
Main objects and components of Apache Kafka:
- Producer — a component that publishes (sends) messages to topics.
- Consumer — a component that reads messages from topics.
- Topic — a logical category or stream of messages where data is published.
- Partition — a section of a topic that allows parallelism and scaling.
- Broker — a Kafka server that stores data and handles requests.
- Consumer Group — a group of consumers that jointly read data from a topic, ensuring load balancing.
- Zookeeper (in older versions) — a service for coordination and management of the Kafka cluster.
These components together provide a high-performance, scalable, and fault-tolerant messaging system.