You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to instantiate a producer with a remote kafka broker (confluent), but the custom options that im setting on the Kafka facade are not going to the final Producer class.
@renatobcj v1.2.0 should fix this problem. Please let me know if it's working well now.
mateusjunges
changed the title
Facade custom options not being passed to Producer object
[BUG] Facade custom options not being passed to Producer object
Dec 9, 2021
Im trying to instantiate a producer with a remote kafka broker (confluent), but the custom options that im setting on the Kafka facade are not going to the final Producer class.
This throws an exception because these configOptions are not being passed to the Conf object from rdkafka. Probably because of this line:
Junges\Kafka\Producers\Producer.php - Line 22
Which limits the config passed to KafkaProducer::class to be only the ones returned from getProducerOptions().
Am i doing something wrong?
It works when i try to use php-rdkafka with the same configs.
The text was updated successfully, but these errors were encountered: