File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,6 @@ public function getConsumerOptions(): array
141
141
'enable.auto.commit ' => config ('kafka.auto_commit ' , true ) === true ? 'true ' : 'false ' ,
142
142
'group.id ' => $ this ->groupId ,
143
143
'bootstrap.servers ' => $ this ->broker ,
144
- 'linger.ms ' => 0 ,
145
- 'queue.buffering.max.ms ' => 0 ,
146
144
];
147
145
148
146
if (isset ($ this ->autoCommit )) {
@@ -160,6 +158,8 @@ public function getProducerOptions(): array
160
158
'compression.codec ' => config ('kafka.compression ' , 'snappy ' ),
161
159
'bootstrap.servers ' => $ this ->broker ,
162
160
'metadata.broker.list ' => $ this ->broker ,
161
+ 'linger.ms ' => 0 ,
162
+ 'queue.buffering.max.ms ' => 0
163
163
];
164
164
165
165
return collect (array_merge ($ config , $ this ->customOptions , $ this ->getSaslOptions ()))
You can’t perform that action at this time.
0 commit comments