Add documents for KafkaAvroSerializer support in apex-pdp 45/132245/2
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Thu, 17 Nov 2022 20:54:42 +0000 (15:54 -0500)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Wed, 23 Nov 2022 19:19:52 +0000 (14:19 -0500)
Issue-ID: POLICY-4460
Change-Id: Ica77ff1aafd10b098bdcae72041f3176b29dac40
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit d873084e17de71c8ef61e844083a2e8d4e32773e)
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
docs/apex/APEX-User-Manual.rst
docs/development/devtools/devtools.rst
docs/development/devtools/drools-smoke.rst
docs/development/devtools/strimzi-policy.rst
docs/development/devtools/xacml-smoke.rst

index c0a7aac..7923204 100644 (file)
@@ -2626,6 +2626,31 @@ Kafka Input
                   Kindly note that the above Kafka properties is just a reference,
                   and the actual properties required depends on the Kafka server installation.
 
+                  In cases where the message produced in Kafka topic has been serialized using KafkaAvroSerializer,
+                  then the following parameters needs to be additionally added to `KafkaProperties` for the consumer
+                  to have the capability of deserializing the message properly while consuming.
+
+               .. container:: listingblock
+
+                  .. container:: content
+
+                     .. code::
+
+                        [
+                          "value.deserializer",
+                          "io.confluent.kafka.serializers.KafkaAvroDeserializer"
+                        ],
+                        [
+                          "schema.registry.url",
+                          "<url of the schema registry configured in Kafka cluster for registering Avro schemas>"
+                        ]
+
+               .. container:: paragraph
+
+                  For more details on how to setup schema registry for Kafka cluster,
+                  kindly take a look `here <https://github.com/confluentinc/schema-registry/blob/master/README.md>`__.
+
+
 Kafka Output
 ============
                .. container:: paragraph
index cfd0ab6..c2ff409 100644 (file)
@@ -431,8 +431,6 @@ The profile is activated when:
         <!--  This property triggers generation of the Swagger documents -->
         <swagger.generation.phase>post-integration-test</swagger.generation.phase>
 
-    See the `CLAMP runtime POM <https://github.com/onap/policy-clamp/blob/master/runtime/pom.xml>`_ for an example of the usage of this property.
-
 2. Unit tests are being executed in the build, in other words when the *skipTests* flag is *false*.
 
 You **must** create a unit test in your module that generates the following file:
index 07c812c..9aec00a 100644 (file)
@@ -21,7 +21,7 @@ ONAP OOM kubernetes
 
 For installation instructions, please refer to the following documentation:
 
-`OOM Quick Start Guide <https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html>`_
+`OOM User Guide <https://docs.onap.org/projects/onap-oom/en/latest/sections/guides/user_guides/oom_user_guide.html>`_
 
 At a minimum policy needs the following components installed:
 
index 772281e..ddd29a6 100644 (file)
@@ -194,7 +194,7 @@ Download OOM repo
 The Policy kubernetes chart is located in the `OOM repository <https://github.com/onap/oom/tree/master/kubernetes/policy>`_.
 This chart includes different policy components referred as <policy-component-name>.
 
-Please refer to the `OOM documentation <https://docs.onap.org/projects/onap-oom/en/latest/oom_user_guide.html>`_ on how to install and deploy ONAP.
+Please refer to the `OOM documentation <https://docs.onap.org/projects/onap-oom/en/latest/sections/guides/user_guides/oom_user_guide.html>`_ on how to install and deploy ONAP.
     .. code-block:: bash
 
        cd
index 5b7eb8e..ea15762 100644 (file)
@@ -21,7 +21,7 @@ ONAP OOM kubernetes
 
 For installation instructions, please refer to the following documentation:
 
-`OOM Quick Start Guide <https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html>`_
+`OOM User Guide <https://docs.onap.org/projects/onap-oom/en/latest/sections/guides/user_guides/oom_user_guide.html>`_
 
 At a minimum policy needs the following components installed: