Command query responsibility segregation (CQRS) applies the CQS principle by using separate Query and Command objects to retrieve and modify data, respectively.[2][3] https://en.wikipedia.org/wiki/Command%E2%80%93query_separation
Hopefully you guys have installed Docker :)
docker-machine ls
docker-machine ip # Showing the IP eg: 192.168.99.100
vim docker-compose.yml # Open file
kafka:
image: wurstmeister/kafka:0.10.2.1
depends_on:
- zookeeper
environment:
KAFKA_CREATE_TOPICS: "news-topic:1:3,statuses-topic:1:3,tags-topic:1:1:compact"
KAFKA_ADVERTISED_HOST_NAME: 192.168.99.100 # The value must be change to match docker-machine ip
docker-compose run ntm ginkgo command commandApi # To run unit testing
docker-compose up --build # To run application
You can change the host to match docker-machine ip :)
Postman Documentation API Click here . . .
Gateid is open-sourced software licensed under the MIT license