-=================================\r
-DMAAP MESSAGE ROUTER INSTALLATION\r
-=================================\r
-This document describes how to install and access DMaaP Message Router.\r
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.\r
+.. http://creativecommons.org/licenses/by/4.0\r
+\r
+Installation\r
+============\r
+\r
+Environment\r
+-----------\r
+Message Router is developed using Kafka, Zookeeper and Java. AJSC framework is used to create the REST service and Docker was used to package the service.\r
+\r
+Steps\r
+-----\r
Message Router has 3 docker containers. Dmaap\_container,\r
-kafka\_contaienr and zookeeper\_container. Zookeeper runs on 172.18.0.3,\r
-kafka runs on 172.18.0.2 and dmaap on 172.18.0.4.\r
+kafka\_container and zookeeper\_container. Zookeeper runs on 172.18.0.2,\r
+kafka runs on 172.18.0.3 and dmaap on 172.18.0.4.\r
\r
1) Clone message service repo\r
\r
3) In /var/tmp/MsgRtrApi.properties, change value of below variables as\r
shown below:\r
\r
- config.zk.servers=172.18.0.3\r
+ config.zk.servers=172.18.0.2(Change as per where ZooKeepeer is deployed)\r
\r
- kafka.metadata.broker.list=172.18.0.2:9092\r
+ kafka.metadata.broker.list=172.18.0.3:9092(Change as per where Kafka is deployed)\r
\r
4) Install docker and docker-compose\r
\r
5) Go to messageservice/src/main/resources/docker-compose and run:\r
-\r
- docker-compose up \96d\r
+ \r
+ .. code:: bash\r
+ \r
+ docker-compose up # add -d argument to start process as a daemon (background process)\r
\r
This should start 3 containers.\r
\r
-6) Run \91docker ps\92. It should show 3 containers.\r
+6) Run docker ps. It should show 3 containers.\r
\r
|image0|\r
\r
.. |image0| image:: docker.png\r
- :width: 5.84375in\r
- :height: 0.76042in\r
-\r
+ \r
Testing\r
-------\r
\r
\r
Note: You will only receive messages which have been published after\r
you have subscribed to a topic.\r
-\r
-\r