<< PREVIOUS               NEXT >> 

 

SAMPLE APPLICATION EXECUTION


 

  1. On the container/pod where the sample application is copied, execute the below command:

    java -jar IncidentConsumer.jar <CMS_IP_ADDRESS>:9092

     


     

  2. The above command sets up a listener to the Kafka topic: ZS-INCIDENT-PUBLISH

  3. The received Incident information is displayed on the console

  4. 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>