final
class
ConsumerSettings[K, V] extends AnyRef
Instance Constructors
-
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)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
val
assignments: Set[TopicPartition]
-
def
clone(): AnyRef
-
val
closeTimeout: FiniteDuration
-
val
commitTimeout: FiniteDuration
-
def
createKafkaConsumer(): KafkaConsumer[K, V]
-
val
dispatcher: String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
val
fromOffsets: Map[TopicPartition, Long]
-
final
def
getClass(): Class[_]
-
def
getProperty(key: String): String
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
val
keyDeserializer: Deserializer[K]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
pollCommitTimeout: FiniteDuration
-
val
pollInterval: FiniteDuration
-
val
pollTimeout: FiniteDuration
-
val
properties: Map[String, String]
-
val
stopTimeout: FiniteDuration
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
topics: Set[String]
-
val
valueDeserializer: Deserializer[V]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withAssignment(assignment: TopicPartition): ConsumerSettings[K, V]
-
def
withBootstrapServers(bootstrapServers: String): ConsumerSettings[K, V]
-
def
withClientId(clientId: String): ConsumerSettings[K, V]
-
def
withCloseTimeout(closeTimeout: FiniteDuration): ConsumerSettings[K, V]
-
def
withCommitTimeout(commitTimeout: FiniteDuration): ConsumerSettings[K, V]
-
def
withDispatcher(dispatcher: String): ConsumerSettings[K, V]
-
def
withFromOffset(topicPartition: TopicPartition, offset: Long): ConsumerSettings[K, V]
-
def
withGroupId(groupId: String): ConsumerSettings[K, V]
-
def
withPollCommitTimeout(pollCommitTimeout: FiniteDuration): ConsumerSettings[K, V]
-
def
withPollInterval(pollInterval: FiniteDuration): ConsumerSettings[K, V]
-
def
withPollTimeout(pollTimeout: FiniteDuration): ConsumerSettings[K, V]
-
def
withProperty(key: String, value: String): ConsumerSettings[K, V]
-
def
withStopTimeout(stopTimeout: FiniteDuration): ConsumerSettings[K, V]
Inherited from AnyRef
Inherited from Any
Settings for consumers. See
akka.kafka.consumer
section in reference.conf. Note that the companion object providesapply
andcreate
functions for convenient construction of the settings, together with thewith
methods.