Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit f01e572

Browse files
committed
connect consumer to brokers
1 parent 9443db0 commit f01e572

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PubSubConnectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ protected function makeKafkaAdapter(array $config)
9898
$conf->setDefaultTopicConf($topicConf);
9999

100100
$consumer = $this->container->makeWith('pubsub.kafka.consumer', ['conf' => $conf]);
101+
$consumer->addBrokers($config['brokers']);
101102

102103
return new KafkaPubSubAdapter($producer, $consumer);
103104
}

0 commit comments

Comments
 (0)