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"
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 thebufferConsumer. These will now be called e.g."snowplow-emitter-BufferConsumer-thread-1"