[email protected] www.rittmanmead.com @rittmanmead
Output to Kafka
31
$ kafka-console-consumer \
--zookeeper localhost:2181 \
-—topic order_aggregates
{
"ts": 1487253152764000000,
"count_30sec": 16,
"avg_order_total_30sec": 8138.75,
"max_order_total_30sec": 15102
}
{
"ts": 1487253162686000000,
"count_30sec": 17,
"avg_order_total_30sec": 5898.5884,
"max_order_total_30sec": 15102
}