SAMPLE APPLICATION EXECUTION
-
On the container/pod where the sample application is copied, execute the below command:
java -jar IncidentConsumer.jar <CMS_IP_ADDRESS>:9092
-
The above command sets up a listener to the Kafka topic: ZS-INCIDENT-PUBLISH
-
The received Incident information is displayed on the console
-
The output of the above command can be redirected to a log file if required to maintain a log of all the incidents generated in CMS
java -jar IncidentConsumer.jar <CMS_IP_ADDRESS>:9092>> <Log_File_Name>