Utility functions for Kafka Metamorphosis
Utility functions for Kafka Metamorphosis
(kebab->dot k)
Convert kebab-case keyword to dot.case string. Example: :bootstrap-servers -> "bootstrap.servers"
Convert kebab-case keyword to dot.case string. Example: :bootstrap-servers -> "bootstrap.servers"
(kebab->snake k)
Convert kebab-case keys to snake_case for Kafka configuration. Example: :max-poll-records -> max.poll.records
Convert kebab-case keys to snake_case for Kafka configuration. Example: :max-poll-records -> max.poll.records
(map->properties config-map)
Convert a Clojure map to Java Properties. Keys are converted to strings using (name k) and values to strings using (str v).
Convert a Clojure map to Java Properties. Keys are converted to strings using (name k) and values to strings using (str v).
(normalize-config config-map)
Normalize configuration map by converting kebab-case keys to dot notation.
Normalize configuration map by converting kebab-case keys to dot notation.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |