Class/Object

akka.kafka

ConsumerSettings

Related Docs: object ConsumerSettings | package kafka

Permalink

final 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], keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V], topics: Set[String], assignments: Set[TopicPartition], fromOffsets: Map[TopicPartition, Long], pollInterval: FiniteDuration, pollTimeout: FiniteDuration, pollCommitTimeout: FiniteDuration, stopTimeout: FiniteDuration, closeTimeout: FiniteDuration, commitTimeout: FiniteDuration, dispatcher: String)

    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. val assignments: Set[TopicPartition]

    Permalink
  6. def clone(): AnyRef

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

    Permalink
  8. val commitTimeout: FiniteDuration

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

    Permalink

    Create a KafkaConsumer instance from the settings.

    Create a KafkaConsumer instance from the settings. It will subscribe to the defined topics or set topic/partition assignments. Either topics or assignments must be defined, not both. It will seek to the defined fromOffset if any.

  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. val fromOffsets: Map[TopicPartition, Long]

    Permalink
  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 keyDeserializer: Deserializer[K]

    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 pollCommitTimeout: FiniteDuration

    Permalink
  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 topics: Set[String]

    Permalink
  31. val valueDeserializer: Deserializer[V]

    Permalink
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withAssignment(assignment: TopicPartition): ConsumerSettings[K, V]

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

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

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

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

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

    Permalink
  41. def withFromOffset(topicPartition: TopicPartition, offset: Long): ConsumerSettings[K, V]

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

    Permalink
  43. def withPollCommitTimeout(pollCommitTimeout: FiniteDuration): ConsumerSettings[K, V]

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped