Hi, Fathima, Yes, the most efficient way to verify if a message is sent successfully is through the producer callback. You can take a look at PrintInfoCallback in org.apache.kafka.toolsVerifiableProducer as an example. Our system tests use that to verify if any data loss has occurred.
Thanks, Jun On Mon, May 22, 2017 at 2:48 AM, Fathima Amara <fath...@wso2.com> wrote: > Hi Jun, > > Do you mean by using CallBack mechanism? Since I am new to kafka would you > mind directing me how to do it if it's not to be done using CallBack? > > Fathima. >