Apache Kafka Questions et reponses d'entretien
Question 16. What is the process for starting a Kafka server?
- 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
Question 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.
Question 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.
Question 19. What is the main difference between Kafka and Flume?
Question 20. Is Apache Kafka is a distributed streaming platform and what you can do with it?
- 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.
Les plus utiles selon les utilisateurs :
- Explain the concept of Leader and Follower.
- Enlist the several components in Kafka.
- What are main APIs of Kafka?