Undefined reference rd_kafka_init_transaction

Hi All, I am new to kafka and i have to implement kafka adapter. So to commit the produced messages to kafka using rd_kafka_commit_transaction but it is giving rd_kafa_commit_transaction undefined reference.

Using 1.9 librdkafka version and added the -librdkafka linker in my compilation command but still facing this problem.

Anyone pls help me ASAP

Seems you posted the question into the wrong channel. “Kafka Streams” is for Kafka’s Java stream processing library.

Please try Clients - Confluent Community instead.