You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--external-server-mapping stringArray Mapping of Kafka server address to external address (host:port,host:port). A listener for the external address is not started
86
87
--forbidden-api-keys intSlice Forbidden Kafka request types. The restriction should prevent some Kafka operations e.g. 20 - DeleteTopics
87
-
--forward-proxy string URL of the forward proxy. Supported schemas are http and socks5
88
+
--forward-proxy string URL of the forward proxy. Supported schemas are socks5 and http
88
89
-h, --help help for server
89
90
--http-disable Disable HTTP endpoints
90
91
--http-health-path string Path on which to health endpoint (default "/health")
@@ -112,9 +113,15 @@ See:
112
113
--proxy-listener-write-buffer-size int Sets the size of the operating system's transmit buffer associated with the connection. If zero, system default is used
113
114
--proxy-request-buffer-size int Request buffer size pro tcp connection (default 4096)
114
115
--proxy-response-buffer-size int Response buffer size pro tcp connection (default 4096)
115
-
--sasl-enable Connect using SASL/PLAIN
116
+
--sasl-enable Connect using SASL
116
117
--sasl-jaas-config-file string Location of JAAS config file with SASL username and password
117
118
--sasl-password string SASL user password
119
+
--sasl-plugin-command string Path to authentication plugin binary
120
+
--sasl-plugin-enable Use plugin for SASL authentication
121
+
--sasl-plugin-log-level string Log level of the auth plugin (default "trace")
122
+
--sasl-plugin-mechanism string SASL mechanism used for proxy authentication: PLAIN or OAUTHBEARER (default "OAUTHBEARER")
Server.Flags().BoolVar(&c.Auth.Local.Enable, "auth-local-enable", false, "Enable local SASL/PLAIN authentication performed by listener - SASL handshake will not be passed to kafka brokers")
103
103
Server.Flags().StringVar(&c.Auth.Local.Command, "auth-local-command", "", "Path to authentication plugin binary")
104
+
Server.Flags().StringVar(&c.Auth.Local.Mechanism, "auth-local-mechanism", "PLAIN", "SASL mechanism used for local authentication: PLAIN or OAUTHBEARER")
Server.Flags().BoolVar(&c.Kafka.SASL.Enable, "sasl-enable", false, "Connect using SASL/PLAIN")
146
+
// SASL by Proxy
147
+
Server.Flags().BoolVar(&c.Kafka.SASL.Enable, "sasl-enable", false, "Connect using SASL")
147
148
Server.Flags().StringVar(&c.Kafka.SASL.Username, "sasl-username", "", "SASL user name")
148
149
Server.Flags().StringVar(&c.Kafka.SASL.Password, "sasl-password", "", "SASL user password")
149
150
Server.Flags().StringVar(&c.Kafka.SASL.JaasConfigFile, "sasl-jaas-config-file", "", "Location of JAAS config file with SASL username and password")
150
151
152
+
// SASL by Proxy plugin
153
+
Server.Flags().BoolVar(&c.Kafka.SASL.Plugin.Enable, "sasl-plugin-enable", false, "Use plugin for SASL authentication")
154
+
Server.Flags().StringVar(&c.Kafka.SASL.Plugin.Command, "sasl-plugin-command", "", "Path to authentication plugin binary")
155
+
Server.Flags().StringVar(&c.Kafka.SASL.Plugin.Mechanism, "sasl-plugin-mechanism", "OAUTHBEARER", "SASL mechanism used for proxy authentication: PLAIN or OAUTHBEARER")
0 commit comments