stevenjdh/kafka

By stevenjdh

Updated 8 months ago

Strimzi 0.48.0 with Kafka 4.1.0 custom image workaround for strimzi/strimzi-kafka-oauth#283

Image
Security
Integration & delivery
Message queues
0

83

stevenjdh/kafka repository overview

Strimzi 0.48.0 with Kafka 4.1.0 Keycloak Authorizer Workaround

Description

Strimzi 0.48.0 with Kafka 4.1.0 custom image workaround for strimzi/strimzi-kafka-oauth#283 to fix topic authorization failures when using Keycloak and delegateToKafkaAcls until official fix is released.

Usage

Below is just a quick test command to check the files in the filesystem.

docker run --rm -it stevenjdh/kafka:0.48.0-kafka-4.1.0-oauth-0.17.1 sh -c "ls -l /opt/kafka/libs/*.jar | grep kafka-oauth"

Output:

-rw-r--r-- 1 kafka root    15639 Sep  8 14:24 /opt/kafka/libs/kafka-oauth-client-0.17.0.jar
-rw-r--r-- 1 kafka root   114907 Nov  6 23:43 /opt/kafka/libs/kafka-oauth-common-0.17.1.jar
-rw-r--r-- 1 kafka root    50133 Nov  6 23:43 /opt/kafka/libs/kafka-oauth-keycloak-authorizer-0.17.1.jar
-rw-r--r-- 1 kafka root    29615 Sep  8 14:24 /opt/kafka/libs/kafka-oauth-server-0.17.0.jar
-rw-r--r-- 1 kafka root    10338 Sep  8 14:24 /opt/kafka/libs/kafka-oauth-server-plain-0.17.0.jar

For actual use, override the image in Strimzi with this custom image.

Dockerfile

The Dockerfile definition used can be found here.

Tag summary

Content type

Image

Digest

sha256:4aef84649

Size

530.8 MB

Last updated

8 months ago

docker pull stevenjdh/kafka:0.48.0-kafka-4.1.0-oauth-0.17.1