GitHub user zentol opened a pull request: https://github.com/apache/flink/pull/2105
[FLINK-4074] Make metric reporters less blocking - adds a cancel flag to the StatsDReporter, which is checked before sending every metric. set to true when stop() is called. - switched from Timer to ScheduledExecutorService, in the hopes of better forced termination. - also contains a hotfix preventing exceptions occurring in (un)register to be propagated You can merge this pull request into a Git repository by running: $ git pull https://github.com/zentol/flink metrics_blocking_reporter Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2105.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 #2105 ---- commit 47ae329fff1973e3de9c00f0352a984bb1dba17d Author: zentol <ches...@apache.org> Date: 2016-06-15T10:23:41Z [FLINK-4074] Make metric reporters less blocking commit d6e9ce495ff420a3d454e1e35fe72507db03ae27 Author: zentol <ches...@apache.org> Date: 2016-06-15T10:17:22Z [hotfix] [metrics] Prevent registration exceptions ---- --- 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. ---