pyr / riemann-kafka

kafka producer and consumer support in riemann
Other
41 stars 14 forks source link

Feature/customized decoder #7

Closed weichuliu closed 8 years ago

weichuliu commented 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.

Use case: riemann consuming kafka messages which are JSON instead of protobuf objects

CAFxX commented 8 years ago

+1

pyr commented 8 years ago

Hi @weichuliu, thanks for looking into this. I'm ok except for a few nitpicks, see comments inline.

liuweichu commented 8 years ago

@pyr Hi, thanks for reviewing. I updated the branch:

pyr commented 8 years ago

awesome, thanks @weichuliu