Skip to content

Commit

Permalink
Updates for ZIO 1.0.0-RC17
Browse files Browse the repository at this point in the history
  • Loading branch information
iravid authored Nov 19, 2019
1 parent 3921d65 commit 0bd5024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ client. It integrates effortlessly with ZIO and ZIO Streams.
Add the following dependencies to your `build.sbt` file:
```
libraryDependencies ++= Seq(
"dev.zio" %% "zio-streams" % "1.0.0-RC15",
"dev.zio" %% "zio-streams" % "1.0.0-RC17",
"dev.zio" %% "zio-kafka" % "<version>"
)
```
Expand Down Expand Up @@ -95,7 +95,7 @@ consumer.use { c =>
.flattenChunks
.tap(cr => putStrLn(s"key: ${cr.record.key}, value: ${cr.record.value}"))
.map(_.offset)
.aggregate(Consumer.offsetBatches)
.aggregateAsync(Consumer.offsetBatches)
.mapM(_.commit)
.runDrain
}
Expand All @@ -119,7 +119,7 @@ consumer.use { c =>
.flatMap(_._2.flattenChunks)
.tap(cr => putStrLn(s"key: ${cr.record.key}, value: ${cr.record.value}"))
.map(_.offset)
.aggregate(Consumer.offsetBatches)
.aggregateAsync(Consumer.offsetBatches)
.mapM(_.commit)
.runDrain
}
Expand Down

0 comments on commit 0bd5024

Please sign in to comment.