BinaryPropagation
Context propagation that uses byte stream abstractions as the transport medium. The Binary propagation uses instances of ByteStreamReader and ByteStreamWriter to decode and encode Context instances, respectively.
Binary propagation uses the ByteStreamReader and ByteStreamWriter abstraction which closely model the APIs from InputStream and OutputStream, respectively, but without exposing additional functionality that wouldn't have any well defined behavior for Context propagation, e.g. flush or close functions on OutputStreams.
Type members
Classlikes
Represents a readable stream of bytes. This interface closely resembles InputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.
Represents a readable stream of bytes. This interface closely resembles InputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.
- Companion:
- object
Represents a writable stream of bytes. This interface closely resembles OutputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.
Represents a writable stream of bytes. This interface closely resembles OutputStream, minus the functionality that wouldn't have a clearly defined behavior in the context of Context propagation.
- Companion:
- object
Default Binary propagation in Kamon. This implementation uses Colfer to read and write the context tags and entries. Entries are represented as simple pairs of entry name and bytes, which are then processed by the all configured entry readers and writers.
Default Binary propagation in Kamon. This implementation uses Colfer to read and write the context tags and entries. Entries are represented as simple pairs of entry name and bytes, which are then processed by the all configured entry readers and writers.
- Companion:
- object
- Companion:
- object