-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add config for enabling topic access validator (#3079)
Adds a config called ksql.access.validator.enable for enabling the topic access validator. The possible values for this config are "on", "off", and "auto". "on" is used to enable the validator, "off" is used to disable it, and "auto" can be set to have ksql query kafka properties to auto-discover whether or not the validator can be used ( this is the behaviour before this patch, and is the current default value for this setting). This config is useful for enabling the validator when using ksql against multi-tenant kafka, where ksql will not have access to the broker's configs. This patch also switches the topic validator factory test to use mockito for mocking, instead of easymock.
- Loading branch information
Showing
4 changed files
with
118 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters