Jakob Homan created SAMZA-96:
--------------------------------

             Summary: Improve DaemonThreadFactory to specify thread name, use 
that capability
                 Key: SAMZA-96
                 URL: https://issues.apache.org/jira/browse/SAMZA-96
             Project: Samza
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Jakob Homan
            Priority: Trivial
             Fix For: 0.7.0


The DaemonThreadFactory class is used by  the JvmMetrics (line 42) and 
MetricsSnapshotReporter (line 60) classes to create these classes' respective 
threads, but it does not take any way to name the threads that the factory 
creates.  When these threads are running and inspected in, say VisualVM, 
they're boringly named Thread-6 or whatever.

It'd be better to pass the factory a name or naming function and then name the 
metrics threads so they're easier to work with from debuggers.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to