I need to use a client library which support transaction in Kafka. I know that Java has transaction APIs to support transaction but I will prefer if these APIs would be available in Go. Please let me know if we have any stable library which I can use to write into multiple partition atomically.
I don't believe this is currently available. The librdkafka
library is being updated currently to support it, and then from there the golang client will too.