Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1780

Remote JMX Connectivity Not Working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • None
    • 1.0.0.Final
    • container-images
    • None
    • Hide

      Docker Compose Used:

      version: '2'
      services:
        zookeeper:
          image: debezium/zookeeper:1.0
          ports:
           - 21810:2181
           - 52181:52181
          environment:
           - JMXHOST="52181"
           - JMXHOST="SERVER_IP"
        kafka:
          image: debezium/kafka:1.0
          ports:
           - 10920:9092
          links:
           - zookeeper
          environment:
           - ZOOKEEPER_CONNECT=zookeeper:2181
           - JMXHOST="SERVER_IP"
           - JMXPORT=59092
      
      Show
      Docker Compose Used: version: '2' services: zookeeper: image: debezium/zookeeper:1.0 ports: - 21810:2181 - 52181:52181 environment: - JMXHOST= "52181" - JMXHOST= "SERVER_IP" kafka: image: debezium/kafka:1.0 ports: - 10920:9092 links: - zookeeper environment: - ZOOKEEPER_CONNECT=zookeeper:2181 - JMXHOST= "SERVER_IP" - JMXPORT=59092

    Description

      Hi,

      I was trying to get the metrics out of the Kafka and Kafka Connect using Debezium Images. After reading through the documentation and followings steps (e.g adding JMXHOST and JMXPORT), I was trying to connect to JMX through JConsole. Docker Host is not the actual JConsole host (hosting the images in remote server). While at the same time, I tried official confluent Kafka and Zookeeper images which works fine and allow me to connect to remote JMX through JConsole.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kisa01 Sarthak Killedar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: