From c6c3fed415006c2ea5c5af21fe9a53936fc8800b Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Wed, 27 Jul 2022 11:44:04 -0400 Subject: 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 Change-Id: Ic92b1d429ca3ca0cd1cd7070cd8d102df58b1420 --- .../integration/integration-uservice-test/pom.xml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'testsuites') diff --git a/testsuites/integration/integration-uservice-test/pom.xml b/testsuites/integration/integration-uservice-test/pom.xml index ff53e65e7..0f0d624c2 100644 --- a/testsuites/integration/integration-uservice-test/pom.xml +++ b/testsuites/integration/integration-uservice-test/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2018 Ericsson. All rights reserved. Modifications Copyright (C) 2019-2020 Nordix Foundation. - Modifications Copyright (C) 2020 Bell Canada. + Modifications Copyright (C) 2020, 2022 Bell Canada. Modifications Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -159,7 +159,7 @@ com.salesforce.kafka.test kafka-junit4 - 3.2.1 + 3.2.3 test @@ -169,6 +169,23 @@ + + org.apache.zookeeper + zookeeper + 3.7.0 + test + + + + io.netty + * + + + org.slf4j + slf4j-log4j12 + + + io.netty -- cgit 1.2.3-korg