Rpm spec

Simple RPM spec to construct a RPM out of kafkacat. It requires the RPMP provided in librdkafka. For future reference for RPM builders, this is the trick to build a tar.gz

git archive --format=tar.gz --prefix=kafkacat-1.1.0/ 1.1.0 > ~/kafkacat-1.1.0.tar.gz
In this case, is the count behaviour broken?

https://github.com/edenhill/kafkacat/blob/master/kafkacat.c#L144

should the counter be updated in the callback?