We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73720c5 commit f094ef1Copy full SHA for f094ef1
src/Consumer/ConsumerFactory.php
@@ -57,11 +57,11 @@ private function create(string $name): Consumer
57
$prefetchSize = null;
58
$prefetchCount = null;
59
60
- if ($consumerData['qos']['prefetchSize'] !== null) {
+ if (($consumerData['qos']['prefetchSize'] ?? null) !== null) {
61
$prefetchSize = $consumerData['qos']['prefetchSize'];
62
}
63
64
- if ($consumerData['qos']['prefetchCount'] !== null) {
+ if (($consumerData['qos']['prefetchCount'] ?? null) !== null) {
65
$prefetchCount = $consumerData['qos']['prefetchCount'];
66
67
0 commit comments