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
ISB.Header should support an additional field which a map of key, value of String type. Since headers are part of the data, the Datum, we should expose Datum.GetHeaders() method that returns KV[string]string.
Use Cases
Sources like HTTP, Kafka, etc., have headers and UDFs want to access those
Distributed Tracing
Ability to pass transaction-id(tx_id), auth_headers, etc.
Notes
It is easy to propagate for Map vertices, but for Reduce, we cannot do a merge of many to one, hence it is okay to create an empty header after the Reduce operation.
The content you are editing has changed. Please copy your edits and refresh the page.
Summary
ISB.Header
should support an additional field which a map of key, value ofString
type. Since headers are part of the data, theDatum
, we should exposeDatum.GetHeaders()
method that returnsKV[string]string
.Use Cases
Notes
It is easy to propagate for
Map
vertices, but forReduce
, we cannot do a merge of many to one, hence it is okay to create an empty header after theReduce
operation.Numaflow
SDK Tracking
The text was updated successfully, but these errors were encountered: