com.softwaremill.react.kafka

ProducerProperties

case class ProducerProperties[K, V](params: Map[String, AnyRef], topic: String, keySerializer: Serializer[K], valueSerializer: Serializer[V], partitionizer: (V) ⇒ Option[Int] = ((x$4: V) => scala.None)) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProducerProperties
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProducerProperties(params: Map[String, AnyRef], topic: String, keySerializer: Serializer[K], valueSerializer: Serializer[V], partitionizer: (V) ⇒ Option[Int] = ((x$4: V) => scala.None))

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clientId(id: String): ProducerProperties[K, V]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def dump: String

    Dump current props for debugging

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val keySerializer: Serializer[K]

  15. def messageSendMaxRetries(num: Int): ProducerProperties[K, V]

    messageSendMaxRetries This property will cause the producer to automatically retry a failed send request.

    messageSendMaxRetries This property will cause the producer to automatically retry a failed send request. This property specifies the number of retries when such failures occur. Note that setting a non-zero value here can lead to duplicates in the case of network errors that cause a message to be sent but the acknowledgment to be lost.

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def noCompression(): ProducerProperties[K, V]

    No Compression Allows you to turn off the compression codec for all data generated by this producer.

  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val partitionizer: (V) ⇒ Option[Int]

  21. def rawProperties: Properties

  22. def requestRequiredAcks(value: Int): ProducerProperties[K, V]

    requestRequiredAcks 0) which means that the producer never waits for an acknowledgment from the broker (the same behavior as 0.

    requestRequiredAcks 0) which means that the producer never waits for an acknowledgment from the broker (the same behavior as 0.7). This option provides the lowest latency but the weakest durability guarantees (some data will be lost when a server fails). 1) which means that the producer gets an acknowledgment after the leader replica has received the data. This option provides better durability as the client waits until the server acknowledges the request as successful (only messages that were written to the now-dead leader but not yet replicated will be lost). -1) which means that the producer gets an acknowledgment after all in-sync replicas have received the data. This option provides the best durability, we guarantee that no messages will be lost as long as at least one in sync replica remains.

  23. def setProperties(values: (String, String)*): ProducerProperties[K, V]

  24. def setProperty(key: String, value: String): ProducerProperties[K, V]

    Set any additional properties as needed

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. val topic: String

  27. def useSnappyCompression(): ProducerProperties[K, V]

    Use Snappy Compression instead of the default compression

  28. val valueSerializer: Serializer[V]

  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped