You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Yu Yang <yu...@gmail.com> on 2017/04/07 00:02:48 UTC

recommendation on kafka go client : sarama or confluent-kafka-go

Hi all,

We need to write  a service in Go to consume from kafka. There are two
popular kafka clients:  sarama <https://github.com/Shopify/sarama> and
confluent-kafka-go <https://github.com/confluentinc/confluent-kafka-go>.
Sarama client is written purely in Go. This allow it to show the full Go
stacktrace in case of an exception. That can be helpful for debugging.
Confluent-kafka-go wraps around librdkafka. That potentially can provide
better performance. Any suggestions on choosing between these two?

Thanks!

Regards,
-Yu