Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToMessage ¶
func AddToMessage(msg *pulsar.ProducerMessage, id string)
AddToMessage adds the provided request id in-place to the provided Pulsar message.
func FromMessage ¶
FromMessage attempts to extract a request id embedded in a Pulsar message. The second return value is true if the operation was successful.
func FromMessageOrMissing ¶
FromMessageOrMissing attempts to extract a request id embedded in a Pulsar message, or "missing" if none could be found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.