Skip to content

6. Confluent

Fadhil Yori Hibatullah edited this page Mar 17, 2020 · 1 revision

Back

  1. Make sure you already installed Docker at Defense Center environment, see https://docs.docker.com/install/ for Docker installation tutorial.

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

  3. Pull the image

    $ docker-compose pull
    
  4. Start Docker services in daemon mode using these command:

    $ docker-compose up -d
    
  5. Make sure that all service running

    $ docker-compose ps
    
  6. Check if kafka connector already deployed using these command make sure the output is same

    $ curl http://localhost:8083/connectors
    

    output:

    ["mqtt-source"]
    
  7. If not, restart the connect-add service using these command and then try checking again:

    $ docker-compose start connect-add
    

Back