Package

org.novelfs.streaming.kafka

producer

Permalink

package producer

Visibility
  1. Public
  2. All

Type Members

  1. final case class KafkaProducer[K, V] extends Product with Serializable

    Permalink
  2. case class KafkaProducerConfig[K, V](brokers: List[String], security: KafkaSecuritySettings, keySerializer: Serializer[K], valueSerializer: Serializer[V]) extends Product with Serializable

    Permalink
  3. final case class ProducerRecord[K, V](topic: String, partition: Option[Int], key: K, value: V, timestamp: Option[Long], headers: List[KafkaHeader]) extends Product with Serializable

    Permalink

    topic

    The topic this record will be sent to

    partition

    The partition this record will be sent to (if none, the partition will be assigned by kafka)

    key

    The key of the record

    value

    The value of the record

    timestamp

    The timestamp of the record (if none, the timestamp will be assigned by kafka)

    headers

    The headers associated with the record

Value Members

  1. object KafkaProducer extends Serializable

    Permalink
  2. object KafkaProducerConfig extends Serializable

    Permalink
  3. object ProducerRecord extends Serializable

    Permalink

Ungrouped