real time data - How to get Acknowledgement from Kafka -


how acknowledgement kafka once message consumed or processed. might sound stupid there way know start , end offset of message ack has been received ?

what found far in 0.8 have introduced following way choose offset reading ..

kafka.api.offsetrequest.earliesttime() finds beginning of data in logs , starts streaming there, kafka.api.offsetrequest.latesttime() stream new messages.

example code https://cwiki.apache.org/confluence/display/kafka/0.8.0+simpleconsumer+example

still not sure acknowledgement part


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -