(build-properties set-property-fn config-map)
Builds Properties object from the provided config-map which is a map where keys are Clojure keywords in kebab case. These keys are converted to Kafka properties by set-property-fn.
First, ssl properties are set using the config map returned by a call to ssl-config
Then, properties from the provided config-map
are applied. config-map
can carry properties for Streams,
Consumer or Producer APIs
The method allows individual Streams, Producer, Consumer APIs to override SSL configs
if ssl properties are provided in config-map
Example of a config-map for streams {:auto-offset-reset :latest :replication-factor 2 :group-id "foo"}
Builds Properties object from the provided config-map which is a map where keys are Clojure keywords in kebab case. These keys are converted to Kafka properties by set-property-fn. First, ssl properties are set using the config map returned by a call to `ssl-config` Then, properties from the provided `config-map` are applied. `config-map` can carry properties for Streams, Consumer or Producer APIs The method allows individual Streams, Producer, Consumer APIs to override SSL configs if ssl properties are provided in `config-map` Example of a config-map for streams {:auto-offset-reset :latest :replication-factor 2 :group-id "foo"}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close