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
87
87
--forbidden-api-keys intSlice Forbidden Kafka request types. The restriction should prevent some Kafka operations e.g. 20 - DeleteTopics
88
-
--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
89
89
-h, --help help for server
90
90
--http-disable Disable HTTP endpoints
91
91
--http-health-path string Path on which to health endpoint (default "/health")
@@ -113,9 +113,15 @@ See:
113
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
114
114
--proxy-request-buffer-size int Request buffer size pro tcp connection (default 4096)
115
115
--proxy-response-buffer-size int Response buffer size pro tcp connection (default 4096)
116
-
--sasl-enable Connect using SASL/PLAIN
116
+
--sasl-enable Connect using SASL
117
117
--sasl-jaas-config-file string Location of JAAS config file with SASL username and password
118
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.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")
148
148
Server.Flags().StringVar(&c.Kafka.SASL.Username, "sasl-username", "", "SASL user name")
149
149
Server.Flags().StringVar(&c.Kafka.SASL.Password, "sasl-password", "", "SASL user password")
150
150
Server.Flags().StringVar(&c.Kafka.SASL.JaasConfigFile, "sasl-jaas-config-file", "", "Location of JAAS config file with SASL username and password")
151
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