|
35 | 35 |
|
36 | 36 | Linux
|
37 | 37 |
|
38 |
| - curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.1.2/kafka-proxy_0.1.2_linux_amd64.tar.gz | tar xz |
| 38 | + curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.1.3/kafka-proxy_0.1.3_linux_amd64.tar.gz | tar xz |
39 | 39 |
|
40 | 40 | macOS
|
41 | 41 |
|
42 |
| - curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.1.2/kafka-proxy_0.1.2_darwin_amd64.tar.gz | tar xz |
| 42 | + curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.1.3/kafka-proxy_0.1.3_darwin_amd64.tar.gz | tar xz |
43 | 43 |
|
44 | 44 | 2. Move the binary in to your PATH.
|
45 | 45 |
|
|
116 | 116 | --proxy-response-buffer-size int Response buffer size pro tcp connection (default 4096)
|
117 | 117 | --sasl-enable Connect using SASL
|
118 | 118 | --sasl-jaas-config-file string Location of JAAS config file with SASL username and password
|
| 119 | + --sasl-method string SASL method to use (PLAIN, SCRAM-SHA-256, SCRAM-SHA-512 (default "PLAIN") |
119 | 120 | --sasl-password string SASL user password
|
120 | 121 | --sasl-plugin-command string Path to authentication plugin binary
|
121 | 122 | --sasl-plugin-enable Use plugin for SASL authentication
|
@@ -161,6 +162,15 @@ SASL authentication is initiated by the proxy. SASL authentication is disabled o
|
161 | 162 | --tls-enable --tls-insecure-skip-verify \
|
162 | 163 | --sasl-enable --sasl-username myuser --sasl-password mysecret
|
163 | 164 |
|
| 165 | + kafka-proxy server --bootstrap-server-mapping "kafka-0.example.com:9092,0.0.0.0:30001" \ |
| 166 | + --bootstrap-server-mapping "kafka-1.example.com:9092,0.0.0.0:30002" \ |
| 167 | + --bootstrap-server-mapping "kafka-1.example.com:9093,0.0.0.0:30003" \ |
| 168 | + --sasl-enable \ |
| 169 | + --sasl-username "alice" \ |
| 170 | + --sasl-password "alice-secret" \ |
| 171 | + --sasl-method "SCRAM-SHA-512" \ |
| 172 | + --log-level debug |
| 173 | +
|
164 | 174 | make clean build plugin.unsecured-jwt-provider && build/kafka-proxy server \
|
165 | 175 | --sasl-enable \
|
166 | 176 | --sasl-plugin-enable \
|
|
0 commit comments