ProducerSettings

ox.kafka.ProducerSettings
See theProducerSettings companion object
case class ProducerSettings[K, V](bootstrapServers: List[String], keySerializer: Serializer[K], valueSerializer: Serializer[V], otherProperties: Map[String, String])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def bootstrapServers(servers: String*): ProducerSettings[K, V]
def keySerializer[KK](serializer: Serializer[KK]): ProducerSettings[KK, V]
def property(key: String, value: String): ProducerSettings[K, V]
def toProducer: KafkaProducer[K, V]
def toProperties: Properties
def valueSerializer[VV](serializer: Serializer[VV]): ProducerSettings[K, VV]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product