Uploaded image for project: 'AMQ Streams Kafka Proxy'
  1. AMQ Streams Kafka Proxy
  2. ENTMQSTPR-24

Micrometer 1.12.3 fails in productisation with netty-transport-native-epoll-4.1.106.Final-redhat-00003-linux-aarch_64.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      The micrometer build of the statsd project requires `aarch` (ARM) netty-transport-native-epoll.  It has the same dependency on netty-resolver-dns-native-macos fob both aarch and x86. The build shades (shadows in gradle speak) the libraries into the statsd jar.  The micrometer build has no option to override this behaviour.

      https://github.com/micrometer-metrics/micrometer/blob/c70718afdbf1e745c23851bb2335587678abe496/implementations/micrometer-registry-statsd/build.gradle#L14C46-L14C77

      As Red Hat productise Netty on PNC, the required libraries are never present downstream.

      In previous productisations the downstream micrometer statsd artefact has shaded upstream netty artefacts for this components.  I believe this just went unnoticed.  The issue appears now because the Micrometer 1.12.3 bumped the netty version, and it happens that that Netty a version that is already productised.

       

       

       

      Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find netty-transport-native-epoll-4.1.106.Final-redhat-00003-linux-aarch_64.jar (io.netty:netty-transport-native-epoll:4.1.106.Final-redhat-00003). Searched in the following locations: https://localhost:8443/api/folo/track/build-A6SHD2JLKDYAA/maven/group/build-A6SHD2JLKDYAA/io/netty/netty-transport-native-epoll/4.1.106.Final-redhat-00003/netty-transport-native-epoll-4.1.106.Final-redhat-00003-linux-aarch_64.jar

       

       

       

       

              sbarker@redhat.com Sam Barker
              keithbwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: