# Logstash integration Kafka: Support, or document support for, setting consumer isolation.level to read\_committed

**URL:** <https://discuss.elastic.co/t/logstash-integration-kafka-support-or-document-support-for-setting-consumer-isolation-level-to-read-committed/239116>\
**Category:** Logstash\
**Created:** [June 29, 2020, 1:15pm UTC](https://discuss.elastic.co/t/logstash-integration-kafka-support-or-document-support-for-setting-consumer-isolation-level-to-read-committed/239116 "2020-06-29T13:15:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_te\_Beek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tim_te_beek/32/71294_2.png) [@Tim\_te\_Beek](https://discuss.elastic.co/u/Tim_te_Beek)\
**Post date:** [June 29, 2020, 1:15pm UTC](https://discuss.elastic.co/t/logstash-integration-kafka-support-or-document-support-for-setting-consumer-isolation-level-to-read-committed/239116/1 "2020-06-29T13:15:27Z")

</div>

Hi; we're using [https://github.com/logstash-plugins/logstash-integration-kafka](https://github.com/logstash-plugins/logstash-integration-kafka) to transcribe Kafka Avro message fields from Kafka to an Elastic search index for our reports.

Recently we noticed that the consumer by default uses read\_uncommitted, which when combined with a transactional producer lead to fields being transcribed for messages that were later rolled back, messing up our reports.

There seem to be quite a few overrideable properties already, yet I could not find anything corresponding to: [https://kafka.apache.org/25/documentation/#isolation.level](https://kafka.apache.org/25/documentation/#isolation.level)

Is there any way to set the consumer isolation level for Kafka to read\_committed? Could it be added or documented?

---

<div class="post-metadata">

**Author:** ![Tim\_te\_Beek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tim_te_beek/32/71294_2.png) [@Tim\_te\_Beek](https://discuss.elastic.co/u/Tim_te_Beek)\
**Post date:** [June 29, 2020, 1:39pm UTC](https://discuss.elastic.co/t/logstash-integration-kafka-support-or-document-support-for-setting-consumer-isolation-level-to-read-committed/239116/2 "2020-06-29T13:39:41Z")

</div>

I've since added a pull request with what I think are the required changes, although I'm not too familiar with the code or Ruby (yet) : [https://github.com/logstash-plugins/logstash-integration-kafka/pull/44](https://github.com/logstash-plugins/logstash-integration-kafka/pull/44)

---

<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:** [July 27, 2020, 1:39pm UTC](https://discuss.elastic.co/t/logstash-integration-kafka-support-or-document-support-for-setting-consumer-isolation-level-to-read-committed/239116/3 "2020-07-27T13:39:46Z")

</div>

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