IBM Support

IBM Data Replication Change Data Capture - How to expose JVM port to read CDC producer JMX statistics?

How To


Summary

How to expose JVM port to read JMX statistics IBM Data Replication Change Data Capture for Kafka generates for CDC Kafka producer?

Objective

There are JMV properties that can be used to read JMX statistics:

-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<IP_ADDRESS> -Dcom.sun.management.jmxremote.port=<port>

Steps

  1. Modify or create new file in the following location:
    <IDR_install_dir>/instance/<instance_name>/conf/dmts64.vmargs 
  2. Add JVM properties, for example:
    -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote.port=11771
  3. Before saving changes make sure, there is a single line in dmts64.vmargs file.
  4. Restart CDC instance.
  5. Verify whether the port is open with the following command:
    netstat -nalp |grep dmts

Additional Information

External links to the description of the metrics and some other useful information:
https://docs.confluent.io/current/kafka/monitoring.html
https://kafka.apache.org/documentation/#monitoring
https://kafka.apache.org/documentation/#selector_monitoring

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSX3HK","label":"InfoSphere Change Data Capture"},"ARM Category":[{"code":"a8m0z000000cwsKAAQ","label":"Kafka"}],"ARM Case Number":"TS012449176","Platform":[{"code":"PF016","label":"Linux"}],"Version":"11.4.0;and future releases"}]

Product Synonym

IIDR;IDR;CDC;Kafka

Document Information

Modified date:
30 March 2023

UID

ibm16967211