Hello, I am trying to get metrics from my sample Samza application into Kafka. My application uses the new high-level API and I am expecting to see the default Samza metrics in the "metrics" topic within Kafka. I have configured the stream based on the Metrics Documentation on the Samza website (https://samza.apache.org/learn/documentation/0.14/ container/metrics.html), but it does not seem to be emitting anything, even after it created the topic.
Here are the lines I added: # Metrics metrics.reporters=snapshot,jmx metrics.reporter.snapshot.class=org.apache.samza.metrics.reporter.MetricsSnapshotReporterFactory metrics.reporter.snapshot.stream=kafka.metrics metrics.reporter.snapshot.interval=10 metrics.reporter.jmx.class=org.apache.samza.metrics.reporter.JmxReporterFactory # Encode metrics data as JSON serializers.registry.metrics.class=org.apache.samza.serializers.MetricsSnapshotSerdeFactory systems.kafka.streams.metrics.samza.msg.serde=metrics Running the same configuration added to the Wikipedia{Feed,Parser,Stats} examples within hello-samza does generate the metrics, but it uses the old API. The metrics config even exists in the config file for the WikipediaApplication example which does use the new API but it too does not emit anything in my case. Are default Samza metrics not yet supported when using the high-level API? Or do I need to specifically enable them? Thank you! -- Srujun Thanmay Gupta