Skip to content

Commit

Permalink
Upgraded librdkafka version to 1.9.2.
Browse files Browse the repository at this point in the history
Added OAUTHBEARER OIDC authentication example.
  • Loading branch information
javabrett committed Sep 9, 2022
1 parent 106d70a commit 793bfaa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# kcat v1.8.0

* The edenhill/kcat image has been updated to librdkafka v1.9.2.
* kcat now supports `OAUTHBEARER` authentication for OIDC/OAuth2.
* Added new mock cluster mode
`kcat -M <broker-cnt>` spins up a mock cluster that applications
can produce to and consume from.
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ Connect to cluster using SSL and SASL PLAIN authentication:
$ kcat -b mybroker -X security.protocol=SASL_SSL -X sasl.mechanism=PLAIN -X sasl.username=myapikey -X sasl.password=myapisecret ...


Connect to cluster using SSL and SASL OAUTHBEARER OIDC authentication:

$ kcat -b mybroker -X security.protocol=SASL_SSL -X sasl.mechanism=OAUTHBEARER -X sasl.oauthbearer.method=OIDC -X sasl.oauthbearer.scope=myscope -X sasl.oauthbearer.token.endpoint.url=https://auth.server/path/to/token/endpoint -X sasl.oauthbearer.client.id=clientid -X sasl.oauthbearer.client.secret=clientsecret -X sasl.oauthbearer.extensions="key1=value1,key2=value2" ...


Metadata listing:

```
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

set -o errexit -o nounset -o pipefail

: "${LIBRDKAFKA_VERSION:=v1.8.2}"
: "${LIBRDKAFKA_VERSION:=v1.9.2}"

lrk_install_deps="--install-deps"
lrk_static="--enable-static"
Expand Down

0 comments on commit 793bfaa

Please sign in to comment.