Kafka error handling

Make the handling of errors in the Kafka Consumer configurable and more sensible.