@@ -37,6 +37,7 @@ Below is an example configuration:
37
37
# Optional SASL configuration
38
38
sasl-username = " xxxxx"
39
39
sasl-password = " xxxxxxxx"
40
+ sasl-extensions = {}
40
41
sasl-mechanism = " "
41
42
sasl-version = " "
42
43
# Use if sasl-mechanism is GSSAPI. GSSAPI is for organizations using Kerberos.
@@ -46,7 +47,16 @@ Below is an example configuration:
46
47
sasl-gssapi-kerberos-config-path = " /"
47
48
sasl-gssapi-key-tab-path = " "
48
49
sasl-gssapi-realm = " realm"
49
- # Use if sasl-mechanism is `OAUTHBEARER` (experimental).
50
+ # Options if sasl-mechanism is OAUTHBEARER
51
+ sasl-oauth-service = " auth0"
52
+ sasl-oauth-client-id = " xxxxxxx"
53
+ sasl-oauth-client-secret = " xxxxxxxx"
54
+ sasl-oauth-token-url = " dedicated-auth0-token-url"
55
+ sasl-oauth-token-expiry-margin = " 10s"
56
+ sasl-oauth-scopes = " "
57
+ sasl-oauth-tenant-id = " "
58
+ [kafka .sasl-oauth-parameters ]
59
+ audience = " development"
50
60
sasl-access-token = " "
51
61
52
62
```
@@ -102,8 +112,16 @@ Username to use for SASL authentication.
102
112
#### sasl-password
103
113
Password to use for SASL authentication.
104
114
115
+ ### sasl-extensions
116
+ Arbitrary key value string pairs to pass as a TOML table
117
+
105
118
#### sasl-mechanism
106
- SASL mechanism type. Options include ` GSSAPI ` , ` OAUTHBEARER ` , ` PLAIN ` .
119
+ SASL mechanism type. Options are:
120
+ - ` GSSAPI `
121
+ - ` OAUTHBEARER `
122
+ - ` PLAIN `
123
+ - ` SCRAM-SHA-256 `
124
+ - ` SCRAM-SHA-512 `
107
125
108
126
#### sasl-version
109
127
SASL protocol version.
@@ -126,8 +144,37 @@ Path to the Kerberos key tab.
126
144
#### sasl-gssapi-realm
127
145
Default Kerberos realm.
128
146
147
+ ### Options if sasl-mechanism is OAUTHBEARER
148
+ #### sasl-oauth-service
149
+ The service name to use when authenticating with SASL/OAUTH.
150
+ One of:
151
+ - ` "" ` (empty) or ` custom `
152
+ - ` auth0 `
153
+ - ` azuread `
154
+
155
+ #### sasl-oauth-client-id
156
+ The client ID to use when authenticating with SASL/OAUTH.
157
+
158
+ #### sasl-oauth-client-secret
159
+ The client secret to use when authenticating with SASL/OAUTH.
160
+
161
+ #### sasl-oauth-token-url
162
+ The token URL to use when sasl-oauth-service is ` custom ` or ` auth0 ` . Leave empty otherwise.
163
+
164
+ #### sasl-oauth-token-expiry-margin
165
+ The margin for the token's expiration time.
166
+
167
+ #### sasl-oauth-scopes
168
+ Optional scopes to use when authenticating with SASL/OAUTH.
169
+
170
+ #### sasl-oauth-tenant-id
171
+ Tenant ID for the AzureAD service.
172
+
173
+ #### [ kafka.sasl-oauth-parameters]
174
+ The optional key/value params for SASL/OAUTH. e.g. audience for AUTH0
175
+
129
176
#### sasl-access-token
130
- Used if the SASL mechanism is ` OAUTHBEARER ` (experimental) .
177
+ Static OAUTH token. Use this instead of other OAUTH params .
131
178
132
179
## Options
133
180
The following Kafka event handler options can be set in a
0 commit comments