Closed weichuliu closed 8 years ago
Related issue: https://github.com/pyr/riemann-kafka/issues/5
Make kafka-consumer support :decoder attribute, which should be a customized function that decode the kafka message and turn it into a sequence of riemann events.
:decoder
Use case: riemann consuming kafka messages which are JSON instead of protobuf objects
+1
Hi @weichuliu, thanks for looking into this. I'm ok except for a few nitpicks, see comments inline.
@pyr Hi, thanks for reviewing. I updated the branch:
awesome, thanks @weichuliu
Related issue: https://github.com/pyr/riemann-kafka/issues/5
Make kafka-consumer support
:decoder
attribute, which should be a customized function that decode the kafka message and turn it into a sequence of riemann events.Use case: riemann consuming kafka messages which are JSON instead of protobuf objects