Nice work Peter! Looking forward to the fix. @ChangZhou Kafka metrics are emitted from the source and the process function would be a different operator. For the datastream API, you can set `KafkaSourceOptions.REGISTER_KAFKA_CONSUMER_METRICS.key()` as `false` in your consumer properties.
Best, Mason On Wed, May 4, 2022 at 10:43 PM ChangZhuo Chen (陳昌倬) <czc...@czchen.org> wrote: > On Wed, May 04, 2022 at 01:53:01PM +0200, Chesnay Schepler wrote: > > Disabling the kafka metrics _should_ work. > > Is there anyway to disable Kafka metrics when using low level process > function? > > > -- > ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org > http://czchen.info/ > Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B >