Skip to content

Commit 16f0868

Browse files
authored
Merge pull request #5617 from influxdata/feat/kapacitor-kafka-sasl-oauth
Release Kapacitor v1.7.6, New Kafka Handler params
2 parents 2b6efa8 + 232e28f commit 16f0868

File tree

3 files changed

+68
-4
lines changed

3 files changed

+68
-4
lines changed

content/kapacitor/v1/reference/about_the_project/release-notes.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@ aliases:
99
- /kapacitor/v1/about_the_project/releasenotes-changelog/
1010
---
1111

12+
## v1.7.6 {date="2024-10-28"}
13+
14+
### Features
15+
16+
- Kafka Handler set and send SASL extensions.
17+
- Kafka Handler SASL OAUTH token refreshing.
18+
19+
### Bug Fixes
20+
21+
- Using UTC timezone for alert levels.
22+
23+
### Dependency updates
24+
25+
- Upgrade Go to 1.22.7.
26+
27+
---
28+
1229
## v1.7.5 {date="2024-06-12"}
1330

1431
### Dependency updates

content/kapacitor/v1/reference/event_handlers/kafka.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Below is an example configuration:
3737
# Optional SASL configuration
3838
sasl-username = "xxxxx"
3939
sasl-password = "xxxxxxxx"
40+
sasl-extensions = {}
4041
sasl-mechanism = ""
4142
sasl-version = ""
4243
# Use if sasl-mechanism is GSSAPI. GSSAPI is for organizations using Kerberos.
@@ -46,7 +47,16 @@ Below is an example configuration:
4647
sasl-gssapi-kerberos-config-path = "/"
4748
sasl-gssapi-key-tab-path = ""
4849
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"
5060
sasl-access-token = ""
5161

5262
```
@@ -102,8 +112,16 @@ Username to use for SASL authentication.
102112
#### sasl-password
103113
Password to use for SASL authentication.
104114

115+
### sasl-extensions
116+
Arbitrary key value string pairs to pass as a TOML table
117+
105118
#### 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`
107125

108126
#### sasl-version
109127
SASL protocol version.
@@ -126,8 +144,37 @@ Path to the Kerberos key tab.
126144
#### sasl-gssapi-realm
127145
Default Kerberos realm.
128146

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+
129176
#### sasl-access-token
130-
Used if the SASL mechanism is `OAUTHBEARER` (experimental).
177+
Static OAUTH token. Use this instead of other OAUTH params.
131178

132179
## Options
133180
The following Kafka event handler options can be set in a

data/products.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ kapacitor:
9797
versions: [v1]
9898
latest: v1.7
9999
latest_patches:
100-
v1: 1.7.5
100+
v1: 1.7.6
101101

102102
enterprise_influxdb:
103103
name: "InfluxDB Enterprise"

0 commit comments

Comments
 (0)