(->event event)
(->event event data)
Adds event information to the specified data (map)
Adds event information to the specified data (map)
(consumer-record->data cr)
Yield a clojure representation of a consumer record
Yield a clojure representation of a consumer record
(consumer-records->data crs)
Yield the clojure representation of topic
Yield the clojure representation of topic
(data->producer-record {:keys [partition message-key message-value topic]
:as data})
Build a ProducerRecord
object from a clojure map. No-Op if payload
is already a ProducerRecord
Build a `ProducerRecord` object from a clojure map. No-Op if `payload` is already a `ProducerRecord`
(data->topics topics)
Converts a topic or list of topics into a Collection of topics that KafkaConsumer understands
Converts a topic or list of topics into a Collection of topics that KafkaConsumer understands
(exception->data e)
Convert a known exception to a map
Convert a known exception to a map
(node->data n)
Convert an instance of Node
into a map
Convert an instance of `Node` into a map
(opts->props opts)
Kafka configuration requres a map of string to string. This function converts a Clojure map into a Java Map, String to String
Kafka configuration requres a map of string to string. This function converts a Clojure map into a Java Map, String to String
(partition-info->data pi)
Convert an instance of PartitionInfo
into a map
Convert an instance of `PartitionInfo` into a map
(record-metadata->data record-metadata)
Convert an instance of RecordMetadata
to a map
Convert an instance of `RecordMetadata` to a map
(timestamp-type->data tt)
Convert an instance of TimestampType
to a map
Convert an instance of `TimestampType` to a map
(topic-partition->data tp)
Convert an instance of TopicPartition
into a map
Convert an instance of `TopicPartition` into a map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close