Kafka consumer in Erlang