KafkaBatcher.Config (kafka_batcher v1.0.0)
KafkaBatcher configuration processing. All config parameters are described in details in README.md Examples of configs can be found in the files config/test.exs and test/support/collectors/collector_handlers.ex
Summary
Functions
Return all configured topics with its config.
Types
Link to this type
sasl_mechanism()
@type sasl_mechanism() :: :plain | :scram_sha_256 | :scram_sha_512
Link to this type
sasl_type()
@type sasl_type() :: {sasl_mechanism(), binary(), binary()} | :undefined
Functions
Link to this function
build_topic_config(opts)
Link to this function
collectors_spec()
@spec collectors_spec() :: [:supervisor.child_spec()]
Link to this function
general_producer_config()
@spec general_producer_config() :: Keyword.t()
Link to this function
get_collector_config(topic_name)
Link to this function
get_configs_by_collector!()
Link to this function
get_configs_by_topic_name()
Return all configured topics with its config.
Link to this function
get_endpoints()
@spec get_endpoints() :: [{binary(), non_neg_integer()}]
Link to this function
get_endpoints(config)
@spec get_endpoints(config :: Keyword.t()) :: [{binary(), non_neg_integer()}]