optiopay / kafka

Go driver for Kafka

Home Page:https://godoc.org/github.com/optiopay/kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more kafka error codes

legionus opened this issue · comments

Greetings!

I got error code = 19 from apache kafka and after investigation I found that not all return codes documented, but can be returned.

https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes

Please, add more kafka error codes:

https://github.com/apache/kafka/blob/b62f8ea43b6d5307f7274fbe8b7984dd5ee22239/clients/src/main/java/org/apache/kafka/common/protocol/Errors.java