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
With optional constructor argument or setter injection in KafkaTransportFactory for RdKafka\Conf (imported as KafkaConf in that file) we could set any callbacks we want, and no extra PRs for callback support features needed.
That must work. Symfony calls KafkaTransportConfigurator->__invoke() right after transport instance created and before it is used to produce transport.
With optional constructor argument or setter injection in KafkaTransportFactory for RdKafka\Conf (imported as KafkaConf in that file) we could set any callbacks we want, and no extra PRs for callback support features needed.
Example/change proposal
Make these changes
THEN we can pass configured RdKafka\Conf instance.
How client code might look like
To pass RdKafka\Conf instance we would need to make only 2 steps:
That must work. Symfony calls KafkaTransportConfigurator->__invoke() right after transport instance created and before it is used to produce transport.
This symfony container feature documented here
The text was updated successfully, but these errors were encountered: