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

I am looking for an example with logging enabled to go to a file. #217

Open
TruthPhx opened this issue Aug 2, 2023 · 1 comment
Open

Comments

@TruthPhx
Copy link

TruthPhx commented Aug 2, 2023

Attached documentation and code samples are primitive.

I am looking for a way to call the Kafka_client with logging to a file and couldn't find the code documentation. Any help would be appreciated.

@kenneth-jia
Copy link
Contributor

You could just customized your log_cb (for the properties), and here's an example, https://github.com/morganstanley/modern-cpp-kafka/blob/main/tests/unit/TestProperties.cc#L19

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

2 participants