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
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, commitRefreshInterval: Duration, dispatcher: String, commitTimeWarning: FiniteDuration = 1.second, wakeupDebug: Boolean = true, waitClosePartition: FiniteDuration)

    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 commitRefreshInterval: Duration

    Permalink
  8. val commitTimeWarning: FiniteDuration

    Permalink
  9. val commitTimeout: FiniteDuration

    Permalink
  10. def createKafkaConsumer(): Consumer[K, V]

    Permalink

    Create a KafkaConsumer instance from the settings.

  11. val dispatcher: String

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

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

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

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

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

    Permalink

    Java API: Get a raw property.

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

  17. def hashCode(): Int

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

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

    Permalink
  20. val maxWakeups: Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. val pollInterval: FiniteDuration

    Permalink
  25. val pollTimeout: FiniteDuration

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

    Permalink
  27. val stopTimeout: FiniteDuration

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

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

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

    Permalink
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val waitClosePartition: FiniteDuration

    Permalink
  35. val wakeupDebug: Boolean

    Permalink
  36. val wakeupTimeout: FiniteDuration

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

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

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

    Permalink
  40. def withCommitRefreshInterval(commitRefreshInterval: Duration): ConsumerSettings[K, V]

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

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

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

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

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

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

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

    Permalink
  48. 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.

  49. 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.

  50. 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.

  51. 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.

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

    Permalink
  53. def withWaitClosePartition(waitClosePartition: FiniteDuration): ConsumerSettings[K, V]

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped