Apache Kafka preguntas y respuestas de entrevista
Pregunta 6. Is it possible to use Kafka without ZooKeeper?
No. It is impossible to bypass Zookeeper and connect directly to the Kafka server. If somehow, ZooKeeper is down, then it is impossible to service any client request.
Pregunta 7. What do you know about Partition in Kafka?
In every Kafka broker, there are few partitions available. And, here each partition in Kafka can be either a leader or a replica of a topic.
Pregunta 8. Why is Kafka technology significant to use?
There are some advantages of Kafka, which makes it significant to use:
- High-throughput: We do not need any large hardware in Kafka, because it is capable of handling high-velocity and high-volume data. Moreover, it can also support message throughput of thousands of messages per second.
- Low Latency: Kafka can easily handle these messages with the very low latency of the range of milliseconds, demanded by most of the new use cases.
- Fault-Tolerant: Kafka is resistant to node/machine failure within a cluster.
- Durability: As Kafka supports messages replication, so, messages are never lost. It is one of the reasons behind durability.
- Scalability: Kafka can be scaled-out, without incurring any downtime on the fly by adding additional nodes.
Pregunta 9. What are main APIs of Kafka?
- Producer API
- Consumer API
- Streams API
- Connector API
Pregunta 10. What are consumers or users?
Mainly, Kafka Consumer subscribes to a topic(s), and also reads and processes messages from the topic(s). Moreover, with a consumer group name, Consumers label themselves.
Lo mas util segun los usuarios:
- Explain the concept of Leader and Follower.
- Enlist the several components in Kafka.
- What are main APIs of Kafka?