object KafkaConsumerConfig extends Serializable
- Alphabetic
- By Inheritance
- KafkaConsumerConfig
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(source: Config, includeDefaults: Boolean = true): KafkaConsumerConfig
Loads the KafkaConsumerConfig from a parsed
com.typesafe.config.Configreference.Loads the KafkaConsumerConfig from a parsed
com.typesafe.config.Configreference.NOTE that this method doesn't assume any path prefix for loading the configuration settings, so it does NOT assume a root path like
kafka. In case case you need that, you can always do:KafkaConsumerConfig(globalConfig.getConfig("kafka"))- source
is the typesafe
Configobject to read from- includeDefaults
should be
truein case you want to fallback to the default values provided by themonix-kafkalibrary inmonix/kafka/default.conf
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
lazy val
default: KafkaConsumerConfig
Returns the default configuration, specified the
monix-kafkaproject inmonix/kafka/default.conf. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(): KafkaConsumerConfig
Loads the KafkaConsumerConfig either from a file path or from a resource, if
config.fileorconfig.resourceare defined, or otherwise returns the default config.Loads the KafkaConsumerConfig either from a file path or from a resource, if
config.fileorconfig.resourceare defined, or otherwise returns the default config.If you want to specify a
config.file, you can configure the Java process on execution like so:java -Dconfig.file=/path/to/application.conf
Or if you want to specify a
config.resourceto be loaded from the executable's distributed JAR or classpath:java -Dconfig.resource=com/company/mySpecial.conf
In case neither of these are specified, then the configuration loaded is the default one, from the
monix-kafkaproject, specified inmonix/kafka/default.conf. -
def
loadFile(file: File, rootPath: String = defaultRootPath, includeDefaults: Boolean = true): KafkaConsumerConfig
Loads a KafkaConsumerConfig from a specified file.
Loads a KafkaConsumerConfig from a specified file.
- file
is the configuration path from where to load the config
- rootPath
is the config root path (e.g.
kafka)- includeDefaults
should be
truein case you want to fallback to the default values provided by themonix-kafkalibrary inmonix/kafka/default.conf
-
def
loadResource(resourceBaseName: String, rootPath: String = defaultRootPath, includeDefaults: Boolean = true): KafkaConsumerConfig
Loads a KafkaConsumerConfig from a project resource.
Loads a KafkaConsumerConfig from a project resource.
- resourceBaseName
is the resource from where to load the config
- rootPath
is the config root path (e.g.
kafka)- includeDefaults
should be
truein case you want to fallback to the default values provided by themonix-kafkalibrary inmonix/kafka/default.conf
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )