Object/Class

monix.kafka

KafkaConsumerConfig

Related Docs: class KafkaConsumerConfig | package kafka

Permalink

object KafkaConsumerConfig extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaConsumerConfig
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(source: Config, includeDefaults: Boolean = true): KafkaConsumerConfig

    Permalink

    Loads the KafkaConsumerConfig from a parsed com.typesafe.config.Config reference.

    Loads the KafkaConsumerConfig from a parsed com.typesafe.config.Config reference.

    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 Config object to read from

    includeDefaults

    should be true in case you want to fallback to the default values provided by the monix-kafka library in monix/kafka/default.conf

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. lazy val default: KafkaConsumerConfig

    Permalink

    Returns the default configuration, specified the monix-kafka project in monix/kafka/default.conf.

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. def load(): KafkaConsumerConfig

    Permalink

    Loads the KafkaConsumerConfig either from a file path or from a resource, if config.file or config.resource are defined, or otherwise returns the default config.

    Loads the KafkaConsumerConfig either from a file path or from a resource, if config.file or config.resource are 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.resource to 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-kafka project, specified in monix/kafka/default.conf.

  15. def loadFile(file: File, rootPath: String = defaultRootPath, includeDefaults: Boolean = true): KafkaConsumerConfig

    Permalink

    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 true in case you want to fallback to the default values provided by the monix-kafka library in monix/kafka/default.conf

  16. def loadResource(resourceBaseName: String, rootPath: String = defaultRootPath, includeDefaults: Boolean = true): KafkaConsumerConfig

    Permalink

    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 true in case you want to fallback to the default values provided by the monix-kafka library in monix/kafka/default.conf

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped