From b1296de01e61cb8d8e2a8476bad108b2046783de Mon Sep 17 00:00:00 2001 From: Ram Krishna Verma Date: Fri, 14 Oct 2022 10:05:29 -0400 Subject: Add support for KafkaAvroSerializer in apex-pdp Adding the support for KafkaAvroSerializer to deserialize the messages sent on a kafka topic using the KafkaAvroSerializer. The default StringDeserializer that comes from KafkaConsumer is not able to work with avro encoded messages. Issue-ID: POLICY-4369 Change-Id: Ia97bee9546baa78c237e21a220df9374b84121dd Signed-off-by: Ram Krishna Verma --- .../plugins-event-carrier-kafka/pom.xml | 13 ++++++++++ .../event/carrier/kafka/ApexKafkaConsumer.java | 12 +++++----- .../event/carrier/kafka/ApexKafkaConsumerTest.java | 28 ++++++++++++++++++++++ 3 files changed, 47 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/pom.xml b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/pom.xml index 85cbe0f6e..0423db448 100644 --- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/pom.xml +++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/pom.xml @@ -1,6 +1,7 @@