this is for resolving issue when integrates jmxtrans-agent with Kafka Connect. the MBean of kafka connect sometimes emits NaN as the value for StatsDOutputWriter as the following.
can't enable for offset-commit-max-time-ms, err msg as
Invalid value "dynamostreamskafkaconector.task.offset-commit-max-time-ms,connector=firehose-connector,task=1:NaN|g" supplied (NaN or INF)
skip "NaN" or "INF" value in StatsDOutputWriter
this is for resolving issue when integrates jmxtrans-agent with Kafka Connect. the MBean of kafka connect sometimes emits NaN as the value for StatsDOutputWriter as the following.