Class/Object

com.softwaremill.react.kafka

ProducerProperties

Related Docs: object ProducerProperties | package kafka

Permalink

case class ProducerProperties[K, V](params: Map[String, AnyRef], topic: String, keySerializer: Serializer[K], valueSerializer: Serializer[V], partitionizer: (V) ⇒ Option[Int] = (_: V) => 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
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] = (_: V) => None)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
  6. def clone(): AnyRef

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

    Permalink

    Dump current props for debugging

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

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  12. val keySerializer: Serializer[K]

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

    Permalink

    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.

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

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

    Permalink

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

  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

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

    Permalink
  19. def rawProperties: Properties

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

    Permalink

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

    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.

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

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

    Permalink

    Set any additional properties as needed

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

    Permalink
    Definition Classes
    AnyRef
  24. val topic: String

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

    Permalink

    Use Snappy Compression instead of the default compression

  26. val valueSerializer: Serializer[V]

    Permalink
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped