Skip to content

Commit

Permalink
Attempt to fix consumers not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed May 14, 2024
1 parent a0673a4 commit 8e31d3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ public function getConsumerOptions(): array
'enable.auto.commit' => config('kafka.auto_commit', true) === true ? 'true' : 'false',
'group.id' => $this->groupId,
'bootstrap.servers' => $this->broker,
'linger.ms' => 0,
'queue.buffering.max.ms' => 0
];

if (isset($this->autoCommit)) {
Expand Down

0 comments on commit 8e31d3b

Please sign in to comment.