Skip to content

Commit

Permalink
chore: example limit duration specified stay
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulsametileri committed Jul 17, 2024
1 parent d853d3b commit 5b93807
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/with-kafka-batch-consumer-with-prebatch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ func main() {
GroupID: "standart-cg",
},
BatchConfiguration: &kafka.BatchConfiguration{
BatchConsumeFn: batchConsumeFn,
PreBatchFn: preBatch,
MessageGroupLimit: 1000,
BatchConsumeFn: batchConsumeFn,
PreBatchFn: preBatch,
},
RetryEnabled: true,
RetryConfiguration: kafka.RetryConfiguration{
Expand Down

0 comments on commit 5b93807

Please sign in to comment.