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

fix: be more lax on validating config #3599

Merged

Conversation

big-andy-coates
Copy link
Contributor

Description

Fixes: #2279

KSQL should allow any property to be passed to producers and consumers as the can be used to initialize things such as interceptors.
We can not know ahead of time what the properties a custom interceptor needs, hence we can't exclude any settings we see.

Testing done

tests added.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

Fixes: confluentinc#2279

KSQL should allow any property to be passed to producers and consumers as the can be used to initialize things such as interceptors.
We can not know ahead of time what the properties a custom interceptor needs, hence we can't exclude any settings we see.
@big-andy-coates big-andy-coates requested a review from a team as a code owner October 16, 2019 15:58
Copy link
Contributor

@purplefox purplefox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit

@big-andy-coates big-andy-coates merged commit 3c80cf1 into confluentinc:master Oct 17, 2019
@big-andy-coates big-andy-coates deleted the interceptor_config branch October 17, 2019 12:30
@rodesai
Copy link
Contributor

rodesai commented Oct 28, 2019

@big-andy-coates we should document that these will get written out to the command topic without any validation. The original intent behind resolving all the configs was so that we could obfuscate secrets passed in as config when writing them out to kafka and/or logs.

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

Successfully merging this pull request may close these issues.

KsqlConfig fails to propagate monitoring interceptor configs prefixed with "producer." or "consumer."
3 participants