The Kafka consumer protocol for Erlang