GitHub user amethystic opened a pull request: https://github.com/apache/kafka/pull/2317
kafka-4592: Kafka Producer Metrics Invalid Value Default constructor of Max assigns negative infinity as the init value. For the record size and like, value of zero is more reasonable. You can merge this pull request into a Git repository by running: $ git pull https://github.com/amethystic/kafka KAFKA-4592_InfinityValue_For_metrics Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2317.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2317 ---- commit 1195d7b9eb85fa00f712fe1630701c678db13425 Author: amethystic <huxi...@hotmail.com> Date: 2017-01-05T14:19:56Z kafka-4592: Kafka Producer Metrics Invalid Value Default constructor of Max assigns negative infinity as the init value. For the record size and like, value of zero is more reasonable. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---