Liking cljdoc? Tell your friends :D

kafka-metamorphosis.java.interop

Internal helpers for the Java-facing facade. NOT part of the public API. Centralizes type-coercion between Java collections and Clojure data so the individual gen-class wrappers stay small and free of reflection.

Internal helpers for the Java-facing facade. NOT part of the public API.
Centralizes type-coercion between Java collections and Clojure data so the
individual gen-class wrappers stay small and free of reflection.
raw docstring

java-list->vecclj

(java-list->vec xs)

Convert a java.util.List<String> into a Clojure vector of strings.

Convert a java.util.List<String> into a Clojure vector of strings.
sourceraw docstring

java-map->configclj

(java-map->config m)

Convert a java.util.Map<String,Object> into a Clojure config map with keyword keys. Accepts both kebab-case and dot-notation Kafka keys; the underlying util/normalize-config will canonicalize them.

Convert a java.util.Map<String,Object> into a Clojure config map with
keyword keys. Accepts both kebab-case and dot-notation Kafka keys; the
underlying util/normalize-config will canonicalize them.
sourceraw docstring

with-kafka-excljmacro

(with-kafka-ex msg & body)

Wrap a body so that any Throwable is rethrown as a io.github.caioclavico.kafkametamorphosis.KafkaMetamorphosisException with the given message. Keeps the Java-facing API exception-stable.

Wrap a body so that any Throwable is rethrown as a
io.github.caioclavico.kafkametamorphosis.KafkaMetamorphosisException with
the given message. Keeps the Java-facing API exception-stable.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close