Hi Dhruv,
If it *doesn't* get delivered, you will get an error on the Errors
channel [1]. There is currently no way to get an acknowledgement when
messages *are* delivered, but there is a new producer design being
experimented with which does provide this feature [2]. It's not
necessarily production-quality yet, but it's more than ready for
testing and we hope to have it merged eventually (I've been rather
short on time to work on it recently). If you have any feedback please
let us know.
Cheers,
Evan
[1]
http://godoc.org/github.com/Shopify/sarama#Producer.Errors
[2]
https://github.com/Shopify/sarama/pull/132