Skip to content

Dumping out a producer config efficiently #3498

Answered by edenhill
dc-oe asked this question in Q&A
Discussion options

You must be logged in to vote

That's a mistake for the dump() function signature, it should be const and it is treated as const internally. So you can safely cast your retrieved config to be un-const when calling this function.

Also have a look at debug=conf which prints the config on client initialization.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dc-oe
Comment options

@dc-oe
Comment options

@edenhill
Comment options

@dc-oe
Comment options

@edenhill
Comment options

Answer selected by dc-oe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants