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

Commit

Permalink
connect consumer to brokers
Browse files Browse the repository at this point in the history
  • Loading branch information
evictor committed Dec 9, 2017
1 parent 9443db0 commit f01e572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PubSubConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ protected function makeKafkaAdapter(array $config)
$conf->setDefaultTopicConf($topicConf);

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

return new KafkaPubSubAdapter($producer, $consumer);
}
Expand Down

0 comments on commit f01e572

Please sign in to comment.