-
Bug
-
Resolution: Done
-
Major
-
1.4.0.GA
- kafka-oauth-
.jar libraries don't have 'strimzi' prefix name - In the documentation, the strimzi OAuth library jar name has the 'strimzi-' prefix (1), however, in fact kafka-oauth-
.jar in kafka/libs don't have the 'strimzi' prefix (2). - From the name of these jars, nobody knows that it are strimzi libraries. However, if you open the contents of the jars, the strimzi classes are included.
- For reference, the default naming convention for maven jar is <artifact id><version>.jar, so strimzi-prefix is not attached by maven build by default. So the jars provided by Strimzi upstream project don't also have 'strimzi-' prefix.
- I don't know whether it's a documentation bug or a jar name bug. However, I think there are some solutions.
-
- Don't add 'strimzi-' prefix to the strimzi OAuth library jar names. => as a documentation bug.
- Add 'strimzi-' prefix to the strimzi OAuth library jar names when to build jars => as a jar name bug, artifact-id is not changed.
- Add 'strimzi-' prefix to artifact-id => as a jar name bug, artifact-id is changed.
-
- (1) 4.10.5.2. Configuring OAuth 2.0 support for Kafka brokers
https://access.redhat.com/documentation/en-us/red_hat_amq/7.6/html-single/using_amq_streams_on_rhel/index#con-oauth-strimzi-config-str
~~~
strimzi-kafka-oauth-common-*.jar
strimzi-kafka-oauth-server-*.jar
strimzi-kafka-oauth-client-*.jar
keycloak-common-*.jar
keycloak-core-*.jar
bcprov-*.jar
- (2) Red Hat AMQ Streams 1.4 (kafka_2.12-2.4.0.redhat-00005)
~~~
kafka_2.12-2.4.0.redhat-00005
> tree -P "*kafka-oauth*jar"
.
├── bin
├── config
├── docs
│ └── licenses
└── libs
├── kafka-oauth-client-0.3.0.redhat-00001.jar
├── kafka-oauth-common-0.3.0.redhat-00001.jar
├── kafka-oauth-keycloak-authorizer-0.3.0.redhat-00001.jar
└── kafka-oauth-server-0.3.0.redhat-00001.jar
5 directories, 4 files
~~~
- is related to
-
ENTMQST-1881 [DOC RHEL] Not three, but four OAuth strimzi libraries are used
- Closed