object KafkaProducerConfig extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaProducerConfig
  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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(source: Config, includeDefaults: Boolean = true): KafkaProducerConfig

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

    Loads the KafkaProducerConfig 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:

    KafkaProducerConfig(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
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. lazy val default: KafkaProducerConfig

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

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def load(): KafkaProducerConfig

    Loads the KafkaProducerConfig 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 KafkaProducerConfig 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): KafkaProducerConfig

    Loads a KafkaProducerConfig from a specified file.

    Loads a KafkaProducerConfig 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): KafkaProducerConfig

    Loads a KafkaProducerConfig from a project resource.

    Loads a KafkaProducerConfig 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
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped