Skip to content

Commit

Permalink
KCLConsumerFS2 should have autoCommit = false (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
etspaceman authored Dec 12, 2023
1 parent 5a51212 commit e54e243
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kcl/src/main/scala/kinesis4cats/kcl/fs2/KCLConsumerFS2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ object KCLConsumerFS2 {
F: Async[F],
P: Parallel[F]
): Builder[F] = Builder(
config = KCLConsumer.BuilderConfig.Make.default(appName, streamTracker),
config = KCLConsumer.BuilderConfig.Make
.default(appName, streamTracker)
.andThen(_.withProcessConfig(defaultProcessConfig)),
mkKinesisClient = Resource.fromAutoCloseable(
Sync[F].delay(KinesisAsyncClient.create())
),
Expand Down

0 comments on commit e54e243

Please sign in to comment.