summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 600b824)
raw | patch | inline | side by side (parent: 600b824)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 6 Aug 2014 14:28:07 +0000 (16:28 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 6 Aug 2014 14:28:07 +0000 (16:28 +0200) |
src/write_kafka.c | patch | blob | history |
diff --git a/src/write_kafka.c b/src/write_kafka.c
index 2149ff1818a00d392069a93e00d5f7b85c1363e6..3e683c8432c1911f381a9f3e67deeba48c1aff99 100644 (file)
--- a/src/write_kafka.c
+++ b/src/write_kafka.c
static int32_t kafka_partition(const rd_kafka_topic_t *, const void *, size_t,
int32_t, void *, void *);
+#ifdef HAVE_LIBRDKAFKA_LOGGER
static void kafka_log(const rd_kafka_t *, int, const char *, const char *);
static void kafka_log(const rd_kafka_t *rkt, int level,
{
plugin_log(level, "%s", msg);
}
+#endif
static int32_t kafka_partition(const rd_kafka_topic_t *rkt,
const void *keydata, size_t keylen,