write_kafka: 'rd_kafka_errno2err' is deprecated, fix failed builds
authorPavel Rochnyack <pavel2000@ngs.ru>
Sat, 10 Feb 2018 09:20:41 +0000 (09:20 +0000)
committerPavel Rochnyack <pavel2000@ngs.ru>
Sat, 10 Feb 2018 09:51:48 +0000 (16:51 +0700)
commit6c2eb3ad28f08f7e774b6eaea5ae01b0857cf884
tree5dc113b6f94d7e56c6ad7ccc461be9ebf0f89ea0
parentcc61d3adc20693ab3fe8f48c37eeb1167b41773a
write_kafka: 'rd_kafka_errno2err' is deprecated, fix failed builds

Since librdkafka-0.11.0 applications should use rd_kafka_last_error()
to retrieve the error code from the legacy APIs.

Thanks to hikdo.

Closes: #2607
Closes: #2628
Closes: #2640
src/write_kafka.c