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
- Modify or create new file in the following location:
<IDR_install_dir>/instance/<instance_name>/conf/dmts64.vmargs - 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 - Before saving changes make sure, there is a single line in dmts64.vmargs file.
- Restart CDC instance.
- 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
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
Was this topic helpful?
Document Information
Modified date:
30 March 2023
UID
ibm16967211