Kafka erlang consumer for stats ploting