Packages

package kafka

Source
kafka.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. kafka
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package failure
  2. package network

Type Members

  1. sealed trait KafkaClient[F[_]] extends AnyRef

    Client that binds to kafka broker.

    Client that binds to kafka broker. Usually application need only one client.

    Client lives until the emitted process is interrupted, or fails.

  2. trait Logger[F[_]] extends AnyRef

    Logger trait allowing to attach any Logging framework required.

    Logger trait allowing to attach any Logging framework required. Jdk Instance is available

  3. type TopicAndPartition = (@@[String, TopicName], @@[Int, PartitionId])
  4. case class TopicMessage(offset: @@[Long, Offset], key: ByteVector, message: ByteVector, tail: @@[Long, Offset]) extends Product with Serializable

    Message read from the topic.

    Message read from the topic.

    offset

    Offset of the message

    key

    Key of the message

    message

    Message content

    tail

    Offset of last message in the topic

Value Members

  1. val HeadOffset: @@[Long, Offset]

    Starting from this offset will assure that we will read always from very oldest message (head) kept in topic *

  2. val TailOffset: @@[Long, Offset]

    Starting from this offset will assure we starting with most recent messages written to topic (tail) *

  3. def broker(host: String, port: Int): BrokerAddress

    syntax helper to construct broker address *

  4. def offset(offset: Long): @@[Long, Offset]

    types the offset in the topic*

  5. def partition(id: Int): @@[Int, PartitionId]

    types correctly id of the partition*

  6. def topic(name: String): @@[String, TopicName]

    types correctly name of the topic *

  7. object KafkaClient
  8. object Logger

Inherited from AnyRef

Inherited from Any

Ungrouped