Skip to content

Update Consumer config #1844

Answered by garyrussell
MrAolen asked this question in Q&A
Jun 25, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, since version 2.7 you can modify the consumer factory properties.

/**
* Update the consumer configuration map; useful for situations such as
* credential rotation.
* @param updates the configuration properties to update.
* @since 2.7
*/
default void updateConfigs(Map<String, Object> updates) {
}

Since version 2.3, you can override/supplement the consumer factory properties via the container properties.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MrAolen
Comment options

@KhaiNguyenDuc
Comment options

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