Process of Starting and Stopping Journey
About this task
Starting Process
Procedure
-
Starting Process Web
- Configure Kafka and Zookeeper
- IP – on which Zookeeper/Kafka is running
- PORT- Kafka(default 9092), Zookeeper default port 2181
- Log path
- auto.create.topic.enable = true, this property should be set to true for Engine Publish service to work.
- Start Zookeeper, wait 10 sec
- Start kafka
- configure Journey.xml --(Refer Doc, Doc2 )
- Configure Log4j2.xml under conf folder
- Start Webserver (JBOSS/TOMCAT/WebSphere)
- Start Journey Web application
- Configure Kafka and Zookeeper
-
Starting Engine
- Configure application.porperties
- Add DB Details
- Add Kafka details(eg:
spring.kafka.bootstrap-servers=127.0.0.1:9092,
127.0.0.2:9092)
- Path for Ignite Storage, spring.ignite.storage.path, User thru which engine is executed should have Read and Write access to the path of Ignite folder
- Configure Log4j2.xml under conf folder
- Configure property spring.ignite.ipFinder.List as below:
-
spring.ignite.ipFinder.List=127.0.0.1:63501,127.0.0.1:63502, 127.0.0.1:63503,127.0.0.1:63504
-
- Start Engine (java –jar journeyEngine.jar)
Stopping Process (Steps for No Data Loss)- Stop Webserver
- Stop Engine - Use Director or find the Journey engine process ID
& run below command
- Linux → kill -SIGINT [engine-process-id] OR kill -2 [engine-process-id]
- Windows → taskkill /PID [engine-process-id]
- Stop kafka
- Stop Zookeeper
- Configure application.porperties