filterfish / smith2

A complete rewrite of Smith
12 stars 7 forks source link

Provide an identifier unique to the execution context #54

Closed qnm closed 4 years ago

qnm commented 8 years ago

When logging, it would be very useful to differentiate between the output from concurrently processed messages.

Smith should provide an accessor for a unique identifier, either based on the current message ID or a sufficiently unique random value.

A logger can then add this execution context ID as metadata to each message, providing context for execution order. This will become significantly more helpful when used with a structured logger.