Hi, for those interested there is now a native C driver for Apache Kafka available. It has both Producer and Consumer support and is based off of version 0.7 of the protocol.
For more information, see project home at: https://github.com/edenhill/librd Example application: https://github.com/edenhill/librd/blob/master/examples/rdkafka_example.c#L79 ZooKeeper integration is currently not available but on the backlog. Enjoy! Regards, Magnus Edenhill