You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library supports "automatic" trace-propagation via inject/extract/process functions that operate on any HasHeaders a, for which we have instances on Request (for HTTP) and Job (for Faktory).
We should do the same in our Kafka libraries.
My current design would be to make an Envelope around Value (or any a with JSON instances), and put the headers in that envelope. Then you can wrap on produce and unwrap on consume. The only nuance would be to make sure in-flight events that lack an envelope function fine (just without trace context).
The text was updated successfully, but these errors were encountered:
This library supports "automatic" trace-propagation via inject/extract/process functions that operate on any
HasHeaders a
, for which we have instances onRequest
(for HTTP) andJob
(for Faktory).We should do the same in our Kafka libraries.
My current design would be to make an
Envelope
aroundValue
(or anya
with JSON instances), and put the headers in that envelope. Then you can wrap on produce and unwrap on consume. The only nuance would be to make sure in-flight events that lack an envelope function fine (just without trace context).The text was updated successfully, but these errors were encountered: