class
ConsumerSettings[K, V] extends AnyRef
Instance Constructors
-
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)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
val
commitRefreshInterval: Duration
-
-
-
def
createKafkaConsumer(): Consumer[K, V]
-
val
dispatcher: String
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getProperty(key: String): String
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
val
maxWakeups: Int
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
val
properties: Map[String, String]
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
val
wakeupDebug: Boolean
-
-
def
withBootstrapServers(bootstrapServers: String): ConsumerSettings[K, V]
-
def
withClientId(clientId: String): ConsumerSettings[K, V]
-
-
def
withCommitRefreshInterval(commitRefreshInterval: Duration): ConsumerSettings[K, V]
-
-
-
def
withDispatcher(dispatcher: String): ConsumerSettings[K, V]
-
def
withGroupId(groupId: String): ConsumerSettings[K, V]
-
def
withMaxWakeups(maxWakeups: Int): ConsumerSettings[K, V]
-
-
-
def
withProperties(properties: Map[String, String]): ConsumerSettings[K, V]
-
def
withProperties(properties: (String, String)*): ConsumerSettings[K, V]
-
def
withProperties(properties: Map[String, String]): ConsumerSettings[K, V]
-
def
withProperty(key: String, value: String): ConsumerSettings[K, V]
-
-
-
-
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.