There are couple ways to do this. If in SPSC model (there's only one
producer of a job and one consumer), you can stash the propagated
context (ex B3 headers) in the message itself. Afterwards, on the
other side, you read these headers the same way an RPC works, except
you have no response. For example, these result in the annotations
"cs", "sr" (client send, client receive), but not "ss", "cr" (server
send, client receive) as there's no backtrace. We call this approach
one-way span, and it is used for example in the brave (java) pending
work for Kafka
https://github.com/openzipkin/brave/pull/461
We have a SPMC (broadcast messaging) approach that works with
potentially multiple recipients via child spans. This also clarifies
some annotations. This work will go into the next version of zipkin,
particularly in support of a simplified json format for new tracers.
https://github.com/openzipkin/zipkin/issues/1654#issuecomment-318546734
Please ask any other questions you like!
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "zipkin-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
zipkin-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.