Header

fs2.kafka.Header$
See theHeader companion class
object Header

Attributes

Companion:
class
Source:
Header.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Header.type

Members list

Concise view

Value members

Concrete methods

def apply[V](key: String, value: V)(implicit serializer: HeaderSerializer[V]): Header

Creates a new Header instance using the specified String key and value of type V, which is going to be serialized with the implicit HeaderSerializer.

Creates a new Header instance using the specified String key and value of type V, which is going to be serialized with the implicit HeaderSerializer.

Attributes

Source:
Header.scala
def unapply(header: Header): Some[(String, Array[Byte])]

Attributes

Source:
Header.scala

Implicits

Implicits

implicit val headerEq: Eq[Header]

Attributes

Source:
Header.scala
implicit val headerShow: Show[Header]

Attributes

Source:
Header.scala