HI All,

I have basic question on kafka partition. Lets say I have one topic with partition 0. There is one producer which is producing log messages for this topic and there is one consumer also which is consuming messages on this topic. Assuming consumer is faster, after some time it reaches to the last message on the partition. Now the questions are: 1. If the consumer tries to fetch next message, then what value will be return by Kafka server to consumer for offset ?

2. If I want my consumer to wait till producer sends next log message then how can I achieve this ? How can I make my consumer to wait for next message ?


- Ganesh

Reply via email to