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

Remote JMX Connectivity Not Working

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Explained
    • Affects Version/s: 1.0.0.Final
    • Fix Version/s: None
    • Component/s: docker-images
    • Labels:
      None
    • Steps to Reproduce:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kisa01 Sarthak Killedar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: