Class/Object

akka.kafka

ConsumerSettings

Related Docs: object ConsumerSettings | package kafka

Permalink

class ConsumerSettings[K, V] extends AnyRef

Settings for consumers. See akka.kafka.consumer section in reference.conf. Note that the companion object provides apply and create functions for convenient construction of the settings, together with the with methods.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsumerSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsumerSettings(properties: Map[String, String], keyDeserializerOpt: Option[Deserializer[K]], valueDeserializerOpt: Option[Deserializer[V]], pollInterval: FiniteDuration, pollTimeout: FiniteDuration, stopTimeout: FiniteDuration, closeTimeout: FiniteDuration, commitTimeout: FiniteDuration, wakeupTimeout: FiniteDuration, maxWakeups: Int, dispatcher: String, commitTimeWarning: FiniteDuration = 1.second, wakeupDebug: Boolean = true)

    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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val closeTimeout: FiniteDuration

    Permalink
  7. val commitTimeWarning: FiniteDuration

    Permalink
  8. val commitTimeout: FiniteDuration

    Permalink
  9. def createKafkaConsumer(): KafkaConsumer[K, V]

    Permalink

    Create a KafkaConsumer instance from the settings.

  10. val dispatcher: String

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getProperty(key: String): String

    Permalink

    Java API: Get a raw property.

    Java API: Get a raw property. null if it is not defined.

  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. val keyDeserializerOpt: Option[Deserializer[K]]

    Permalink
  19. val maxWakeups: Int

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. val pollInterval: FiniteDuration

    Permalink
  24. val pollTimeout: FiniteDuration

    Permalink
  25. val properties: Map[String, String]

    Permalink
  26. val stopTimeout: FiniteDuration

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. val valueDeserializerOpt: Option[Deserializer[V]]

    Permalink
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. val wakeupDebug: Boolean

    Permalink
  34. val wakeupTimeout: FiniteDuration

    Permalink
  35. def withBootstrapServers(bootstrapServers: String): ConsumerSettings[K, V]

    Permalink
  36. def withClientId(clientId: String): ConsumerSettings[K, V]

    Permalink
  37. def withCloseTimeout(closeTimeout: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  38. def withCommitTimeout(commitTimeout: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  39. def withCommitWarning(commitTimeWarning: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  40. def withDispatcher(dispatcher: String): ConsumerSettings[K, V]

    Permalink
  41. def withGroupId(groupId: String): ConsumerSettings[K, V]

    Permalink
  42. def withMaxWakeups(maxWakeups: Int): ConsumerSettings[K, V]

    Permalink
  43. def withPollInterval(pollInterval: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  44. def withPollTimeout(pollTimeout: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  45. def withProperties(properties: Map[String, String]): ConsumerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.

  46. def withProperties(properties: (String, String)*): ConsumerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.

  47. def withProperties(properties: Map[String, String]): ConsumerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.

  48. def withProperty(key: String, value: String): ConsumerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.

  49. def withStopTimeout(stopTimeout: FiniteDuration): ConsumerSettings[K, V]

    Permalink
  50. def withWakeupDebug(wakeupDebug: Boolean): ConsumerSettings[K, V]

    Permalink
  51. def withWakeupTimeout(wakeupTimeout: FiniteDuration): ConsumerSettings[K, V]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped