Apache Kafka preguntas y respuestas de entrevista
Pregunta 16. What is the process for starting a Kafka server?
It is the very important step to initialize the ZooKeeper server because Kafka uses ZooKeeper. So, the process for starting a Kafka server is:
- In order to start the ZooKeeper server: > bin/zookeeper-server-start.sh config/zookeeper.properties
- Next, to start the Kafka server: > bin/kafka-server-start.sh config/server.properties
Es util?
Agregar comentario
Ver comentarios
Pregunta 17. In the Producer, when does QueueFullException occur?
Whenever the Kafka Producer attempts to send messages at a pace that the Broker cannot handle at that time QueueFullException typically occurs. However, to collaboratively handle the increased load, users will need to add enough brokers, since the Producer doesn’t block.
Es util?
Agregar comentario
Ver comentarios
Pregunta 18. Explain the role of the Kafka Producer API.
An API which permits an application to publish a stream of records to one or more Kafka topics is what we call Producer API.
Es util?
Agregar comentario
Ver comentarios
Pregunta 19. What is the main difference between Kafka and Flume?
The main difference between Kafka and Flume are:
Types of tool:
Apache Kafka: As Kafka is a general-purpose tool for both multiple producers and consumers.
Apache Flume: Whereas, Flume is considered as a special-purpose tool for specific applications.
Replication feature:
Apache Kafka: Kafka can replicate the events.
Apache Flume: Whereas, Flume does not replicate the events.
Es util?
Agregar comentario
Ver comentarios
Pregunta 20. Is Apache Kafka is a distributed streaming platform and what you can do with it?
Undoubtedly, Kafka is a streaming platform. It can help:
- To push records easily
- Also, can store a lot of records without giving any storage problems
- Moreover, it can process the records as they come in.
Es util?
Agregar comentario
Ver comentarios
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?