Skip to content

Commit

Permalink
Fixes #1318 Adds documentation about auto commit behaviour (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinbhaskar authored Aug 31, 2024
1 parent 1ecadba commit 99e3200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: example-of-consuming-producing-and-committing-offsets
title: "Example of Consuming, Producing and Committing Offsets"
---

This example shows how to consume messages from topic `topic_a` and produce transformed messages to `topic_b`, after which consumer offsets are committed. Processing is done in chunks using `ZStreamChunk` for more efficiency.
This example shows how to consume messages from topic `topic_a` and produce transformed messages to `topic_b`, after which consumer offsets are committed. Processing is done in chunks using `ZStreamChunk` for more efficiency. Please note: ZIO consumer does not support automatic offset committing. As a result, it ignores the Kafka consumer setting `enable.auto.commit=true`. Developers should manually commit offsets using the provided commit methods, typically after processing messages or at appropriate points in their application logic.

```scala
import zio.ZLayer
Expand Down

0 comments on commit 99e3200

Please sign in to comment.