Skip to content

Commit 32a6915

Browse files
committed
Fixing Kafka Default configuration merge
1 parent 7b7622c commit 32a6915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RdKafkaConnectionFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct($config = 'kafka:')
4444
throw new \LogicException('The config must be either an array of options, a DSN string or null');
4545
}
4646

47-
$this->config = array_replace($this->defaultConfig(), $config);
47+
$this->config = array_replace_recursive($this->defaultConfig(), $config);
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)