Use real KafkaError methods in delivery callback (Fixes #638)
Fixes #638 (closed)
Uses KafkaError.name
and KafkaError.str
. Opted to display the capitalized constant name (e.g. REQUEST_TIMED_OUT
) instead of the numerical error code since it's more helpful.