Explain how message is consumed by consumer in Kafka?



Explain how message is consumed by consumer in Kafka?..

Answer / Deepak Mishra

"Consumers in Kafka subscribe to specific topics and partitions. They continuously poll for new messages (polling or long-polling) from the assigned partition leader. When a new message arrives, the consumer processes it and acknowledges reception to Kafka. The consumer group ensures that messages are not processed multiple times by different consumers in the same group. "

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Kafka Interview Questions

Explain how you can reduce churn in isr? When does broker leave the isr?

1 Answers  


When does the queue full exception emerge inside the manufacturer?

1 Answers  


What does producer api in kafka?

1 Answers  


What is the role of Consumer API?

1 Answers  


What is the role of Connector API?

1 Answers  


What is kafka message?

1 Answers  


How can you use producer api code?

1 Answers  


Explain the concept of Leader and Follower?

1 Answers  


Is Apache Kafka is a distributed streaming platform? if yes, what you can do with it?

1 Answers  


Explain how to write the output into a file using storm?

1 Answers  


Mention what is the maximum size of the message does kafka server can receive?

1 Answers  


Explain what is a consumer group?

1 Answers  


Categories