改名
This commit is contained in:
@@ -45,7 +45,7 @@ class KafkaClient
|
|||||||
*/
|
*/
|
||||||
private function setConfig(Conf $kafkaConfig)
|
private function setConfig(Conf $kafkaConfig)
|
||||||
{
|
{
|
||||||
$config = Config::get('producers.' . $this->topic, null, true);
|
$config = Config::get('kafka.producers.' . $this->topic, null, true);
|
||||||
if (!isset($config['brokers']) || !isset($config['groupId'])) {
|
if (!isset($config['brokers']) || !isset($config['groupId'])) {
|
||||||
throw new ConfigException('Please configure relevant information.');
|
throw new ConfigException('Please configure relevant information.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user