# Undefined reference rd\_kafka\_init\_transaction

**URL:** <https://forum.confluent.io/t/undefined-reference-rd-kafka-init-transaction/7261>\
**Category:** Kafka Streams\
**Created:** [19 February 2023 09:28 UTC](https://forum.confluent.io/t/undefined-reference-rd-kafka-init-transaction/7261 "2023-02-19T09:28:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nishtha4848](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@Nishtha4848](https://forum.confluent.io/u/Nishtha4848)\
**Post date:** [19 February 2023 09:28 UTC](https://forum.confluent.io/t/undefined-reference-rd-kafka-init-transaction/7261/1 "2023-02-19T09:28:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mjsax](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mjsax/32/3113_2.png) [@mjsax](https://forum.confluent.io/u/mjsax)\
**Post date:** [23 February 2023 07:03 UTC](https://forum.confluent.io/t/undefined-reference-rd-kafka-init-transaction/7261/2 "2023-02-23T07:03:49Z")

</div>

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

Please try [Clients - Confluent Community](https://forum.confluent.io/c/clients/23) instead.
