Describe the bug
When set enable.idempotencetrue, the librdkafka will fail with the following
% Running producer loop. Press Ctrl-C to exit
%0|1695637496.333|FATAL|rdkafka#producer-1| [thrd:main]: Fatal error: Local: Required feature not supported by broker: Idempotent producer not supported by any of the 1 connected broker(s): requires Apache Kafka broker version >= 0.11.0
% Failed to produce to topic persistent://test/test-ns/testtopic: Local: Fatal error
% Flushing outstanding messages..
% Error: _FATAL: Fatal error: Local: Required feature not supported by broker: Idempotent producer not supported by any of the 1 connected broker(s): requires Apache Kafka broker version >= 0.11.0
% FATAL ERROR: _UNSUPPORTED_FEATURE: Idempotent producer not supported by any of the 1 connected broker(s): requires Apache Kafka broker version >= 0.11.0
% Terminating on fatal error
% Message delivery failed: Local: Purged in queue
% 1 message(s) produced, 0 delivered, 1 failed
To Reproduce
Steps to reproduce the behavior:
use librdkafka's example idempotent_producer.c, set user name and password(I use sasl for kop)
idempotent_producer
Expected behavior
Support enable.idempotence option
Additional context
pulsar version 3.0.0
kop version: 3.0.0.4
librdkafka: v1.9.2
broker.conf:
Describe the bug When set
enable.idempotence
true
, the librdkafka will fail with the followingTo Reproduce Steps to reproduce the behavior:
Expected behavior Support
enable.idempotence
optionAdditional context pulsar version 3.0.0 kop version: 3.0.0.4 librdkafka: v1.9.2 broker.conf:
idempotent_producer.patch