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"))is the typesafe Config object to read from
should be true in case you want to fallback
to the default values provided by the monix-kafka library
in monix/kafka/default.conf
Returns the default configuration, specified the monix-kafka project
in monix/kafka/default.conf.
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.
Loads a KafkaProducerConfig from a specified file.
Loads a KafkaProducerConfig from a specified file.
is the configuration path from where to load the config
is the config root path (e.g. kafka)
should be true in case you want to fallback
to the default values provided by the monix-kafka library
in monix/kafka/default.conf
Loads a KafkaProducerConfig from a project resource.
Loads a KafkaProducerConfig from a project resource.
is the resource from where to load the config
is the config root path (e.g. kafka)
should be true in case you want to fallback
to the default values provided by the monix-kafka library
in monix/kafka/default.conf