From cad7cff7dc945eefaf27815742461d6db6ab8eac Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 5 Jul 2019 13:41:03 +0000 Subject: Add duplicate check, examples for kafka Properties Added checks for dealing with duplication of specification of properties explicitly and in kafkaPropertes Added examples for kafkaProperties Added documentation for kafkaProperties Issue-ID: POLICY-1818 Change-Id: Icbe01d6f1d25d4570dcc85cc3db28588743b9c41 Signed-off-by: liamfallon --- .../examples/config/SampleDomain/Kafka2KafkaJsonEvent.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'testsuites/integration/integration-common/src/main') diff --git a/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2KafkaJsonEvent.json b/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2KafkaJsonEvent.json index 6b13db7d4..5f1a9c75a 100644 --- a/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2KafkaJsonEvent.json +++ b/testsuites/integration/integration-common/src/main/resources/examples/config/SampleDomain/Kafka2KafkaJsonEvent.json @@ -28,7 +28,8 @@ "bufferMemory": 33554432, "producerTopic": "apex-out-json", "keySerializer": "org.apache.kafka.common.serialization.StringSerializer", - "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer" + "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer", + "kafkaProperties": [] } }, "eventProtocolParameters": { @@ -52,7 +53,11 @@ "apex-in-json" ], "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer", - "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer" + "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer", + "kafkaProperties": [ + ["message.max.bytes", 1000000], + ["compression.codec", "none"] + ] } }, "eventProtocolParameters": { -- cgit 1.2.3-korg