forked from ferryastika/MataElang-Platform
-
Notifications
You must be signed in to change notification settings - Fork 1
6. Confluent
Fadhil Yori Hibatullah edited this page Mar 17, 2020
·
1 revision
-
Make sure you already installed Docker at Defense Center environment, see https://docs.docker.com/install/ for Docker installation tutorial.
-
Edit
docker-compose.yml
file, find the line contain this :KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:29092,PLAINTEXT_HOST://<your-ip>:9092
change
<your-ip>
with your host ip -
Pull the image
$ docker-compose pull
-
Start Docker services in daemon mode using these command:
$ docker-compose up -d
-
Make sure that all service running
$ docker-compose ps
-
Check if kafka connector already deployed using these command make sure the output is same
$ curl http://localhost:8083/connectors
output:
["mqtt-source"]
-
If not, restart the
connect-add
service using these command and then try checking again:$ docker-compose start connect-add