walmartlabs / cookie-cutter

An opinionated micro-services framework for TypeScript
https://walmartlabs.github.io/cookie-cutter
Other
58 stars 35 forks source link

Added ability to pull custom message headers into message metadata for kafka #344

Closed butorine closed 2 years ago

butorine commented 2 years ago

Sometimes messages that were produced by another system have additional information as part of the message headers. There is a need to propagate that information as part of message metadata. This PR allows users to specify additional header names that could be added to message metadata.