Skip to content

Set Emitter's threads name for easier debugging #280

@mscwilson

Description

For PR #258.

It can be hard to debug threads. To make this easier, give them specific names.

Using an EmitterThreadFactory, the Emitter threads can be named more informatively, e.g. "snowplow-emitter-pool-1-request-thread-1". Each BatchEmitter instance also contains a single thread called the bufferConsumer. These will now be called e.g. "snowplow-emitter-BufferConsumer-thread-1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:completedCompleted - but might not be released yet.type:enhancementNew features or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions