Bump the version of kafka-clients dependency to 3.0.0 44/130044/3
authorRashmi Pujar <rashmi.pujar1@bell.ca>
Wed, 27 Jul 2022 15:44:04 +0000 (11:44 -0400)
committerRashmi Pujar <rashmi.pujar1@bell.ca>
Thu, 28 Jul 2022 19:23:00 +0000 (15:23 -0400)
commitc6c3fed415006c2ea5c5af21fe9a53936fc8800b
tree007d7ce96b550e2c35ef7ffe2f945c70273f2a07
parentc6e16002ed2185b5ed975673df1c40f512b74541
Bump the version of kafka-clients dependency to 3.0.0

The issue was observed when APEX fails to consume events from
a Kafka topic when message compression is used specifically snappy.

APEX KafkaConsumer uses snappy-java library (transitive
dependency from kafka-clients) to consume events with snappy
compression. The snappy-java jar packages the native
library (built against glibc) which can be overwritten
to use alpine compatible native library (built using musl).
This means we will need to install the java-snappy-package in apex-pdp
which is also added to the commit as an option.

Alternatively, in later version of snappy-java dependency (1.1.8)
there is an option to use Java implementation instead of native
library as per:
https://github.com/xerial/snappy-java#using-pure-java-snappy-implementation.
This is a cleaner solution to fix the issue.

Issue-ID: POLICY-4310
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Ic92b1d429ca3ca0cd1cd7070cd8d102df58b1420
packages/apex-pdp-docker/src/main/docker/Dockerfile
pom.xml
testsuites/integration/integration-uservice-test/pom.xml