According to here, I enable JMX Exporter's and was able to connect to it to see some metrics: jobmanager.Status, jobmanager.job.
metrics.reporter.jmx.class: org.apache.flink.metrics.jmx.JMXReporter
metrics.reporter.jmx.port: 8789
However, I did not see metrics of KafkaConnector (commitedOffets, currentOffsets). How do I do this?
I want to get those offset from Flink to calculate
consumer lag = latest kafka partitions offsets - flink partition offsets.