Code

kafka: fix compilation for older versions of librdkafka
authorVincent Bernat <vincent@bernat.im>
Fri, 7 Nov 2014 14:51:58 +0000 (15:51 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 7 Nov 2014 14:51:58 +0000 (15:51 +0100)
commit5e4651df15c30b244a69cd575efc7dee06034b28
tree16c6f4f305de870d8f1204120a47131ae0449e56
parent9c7c25a44056c65fb90eae62be97b61106bc9518
kafka: fix compilation for older versions of librdkafka

Since commit f505691270f2317291c372fd5f004a4ffbce9f9a, kafka module was
broken. Enable definition of `kafka_log()` when using kafka logger
callback as well.
src/write_kafka.c