Miscellaneous interop utilities.
Miscellaneous interop utilities.
(config config nodes)Given a Kakfa configuration map, stringifies keys and adds Kafka nodes.
Given a Kakfa configuration map, stringifies keys and adds Kafka nodes. Cf. https://kafka.apache.org/documentation/#configuration
(future-proxy f* transform)Given a future, makes a future returning (transform @f*) on deref.
Given a future, makes a future returning (transform @f*) on deref.
(keywordize-keys hmap)Stringifies string keys in a map.
Stringifies string keys in a map.
(nodes-string nodes)Produces a string of Kafka nodes for various configurations.
@ nodes List of [host port] representing Kafka nodes.
Ex. (nodes-string [["localhost" 9092] ["another_host" 9092]])
Produces a string of Kafka nodes for various configurations.
@ nodes
List of [host port] representing Kafka nodes.
Ex. (nodes-string [["localhost" 9092]
["another_host" 9092]])(stringify-keys hmap)Stringifies keys in a map.
In case of a named key, takes into account only the name and not the namespace.
Stringifies keys in a map. In case of a named key, takes into account only the name and not the namespace.
(stringify-prefixed-keys hmap)Stringifies keys in a map.
In case of a named key, takes into account the namespace for prefixing the name as needed.
Cf. config-prefixed-key
Stringifies keys in a map. In case of a named key, takes into account the namespace for prefixing the name as needed. Cf. `config-prefixed-key`
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 |