Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-1878

[DOC RHEL] kafka-oauth-*-*.jar libraries don't have 'strimzi-' prefix name

    XMLWordPrintable

Details

    Description

      • 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.
          1. Don't add 'strimzi-' prefix to the strimzi OAuth library jar names. => as a documentation bug.
          2. Add 'strimzi-' prefix to the strimzi OAuth library jar names when to build jars => as a jar name bug, artifact-id is not changed.
          3. Add 'strimzi-' prefix to artifact-id => as a jar name bug, artifact-id is changed.
      • (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
        ~~~

      Attachments

        Issue Links

          Activity

            People

              pmellor@redhat.com Paul Mellor
              rhn-support-tyamashi Tomonari Yamashita
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: