# Kafka Output - idempotent producer?

**URL:** <https://discuss.elastic.co/t/kafka-output-idempotent-producer/282754>\
**Category:** Logstash\
**Created:** [August 29, 2021, 12:29pm UTC](https://discuss.elastic.co/t/kafka-output-idempotent-producer/282754 "2021-08-29T12:29:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GitSpree23](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@GitSpree23](https://discuss.elastic.co/u/GitSpree23)\
**Post date:** [August 29, 2021, 12:29pm UTC](https://discuss.elastic.co/t/kafka-output-idempotent-producer/282754/1 "2021-08-29T12:29:26Z")

</div>

I can see from Logstash logs that `enable.idempotence=false` by default. How do I set the value to true?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 29, 2021, 2:43pm UTC](https://discuss.elastic.co/t/kafka-output-idempotent-producer/282754/2 "2021-08-29T14:43:00Z")

</div>

I don't think that changing this value is supported, it is present in the [documentation](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-kafka.html#plugins-outputs-kafka-options) and it is not present in the [code](https://github.com/logstash-plugins/logstash-integration-kafka/blob/562b625ca16c81e182ea61f61bea278dfa94284a/lib/logstash/outputs/kafka.rb#L330-L358).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 26, 2021, 2:43pm UTC](https://discuss.elastic.co/t/kafka-output-idempotent-producer/282754/3 "2021-09-26T14:43:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
