Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the Rdkafka logger #377

Open
Greg-Myers-SB opened this issue Jun 27, 2024 · 0 comments
Open

Setting the Rdkafka logger #377

Greg-Myers-SB opened this issue Jun 27, 2024 · 0 comments

Comments

@Greg-Myers-SB
Copy link

The Racecar config passes the producer variable through

producer_config = producer.map do |param|

to Rdkafka::Config.new
producer_config.merge!(config.rdkafka_producer)

and that is where the Rdkafka logger is set.

Unfortunately producer is a kind of KingConf which only allows simple values and not logger which was stated in #71 and #72 .
Is there a correct way to set the Rdkafka::Config.logger such that it is reliably set each time one is initialized?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant