projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl plugin: Added 'Interval' option
[collectd.git]
/
src
/
write_kafka.c
diff --git
a/src/write_kafka.c
b/src/write_kafka.c
index
2baaf0e
..
c120d15
100644
(file)
--- a/
src/write_kafka.c
+++ b/
src/write_kafka.c
@@
-43,7
+43,7
@@
struct kafka_topic_context {
#define KAFKA_FORMAT_GRAPHITE 2
uint8_t format;
unsigned int graphite_flags;
#define KAFKA_FORMAT_GRAPHITE 2
uint8_t format;
unsigned int graphite_flags;
-
_B
ool store_rates;
+
b
ool store_rates;
rd_kafka_topic_conf_t *conf;
rd_kafka_topic_t *topic;
rd_kafka_conf_t *kafka_conf;
rd_kafka_topic_conf_t *conf;
rd_kafka_topic_t *topic;
rd_kafka_conf_t *kafka_conf;
@@
-273,7
+273,7
@@
static void kafka_config_topic(rd_kafka_conf_t *conf,
}
tctx->escape_char = '.';
}
tctx->escape_char = '.';
- tctx->store_rates =
1
;
+ tctx->store_rates =
true
;
tctx->format = KAFKA_FORMAT_JSON;
tctx->key = NULL;
tctx->format = KAFKA_FORMAT_JSON;
tctx->key = NULL;