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.

class Object
trait Matchable
class Any

Type members

Classlikes

Companion:
class

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
Companion:
class

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
object Default
Companion:
class
case class Settings(maxOutgoingSize: Int, includeUpstreamName: Boolean, incomingEntries: Map[String, EntryReader[ByteStreamReader]], outgoingEntries: Map[String, EntryWriter[ByteStreamWriter]])
Companion:
object
object Settings
Companion:
class

Value members

Concrete methods

Create a new Binary Propagation instance from the provided configuration.

Create a new Binary Propagation instance from the provided configuration.