Liking cljdoc? Tell your friends :D

kafka-clj.produce


API_KEY_FETCH_REQUESTclj


API_KEY_OFFSET_REQUESTclj


API_KEY_PRODUCE_REQUESTclj


API_VERSIONclj


flush-on-byte->fnclj

(flush-on-byte->fn byte-limit)

Returns a check-f for buffered-chan that will flush if the accumulated byte count is bigger than that of byte-limit

Returns a check-f for buffered-chan that will flush if the accumulated byte count is bigger than that of byte-limit
raw docstring

MAGIC_BYTEclj


messageclj

(message topic partition bts)

shutdownclj

(shutdown {:keys [client]})

write-compressed-message-setclj

(write-compressed-message-set buff correlation-id codec msgs)

Writes the compressed message and returns a tuple of [offset msgs]

Writes the compressed message and returns a tuple of [offset msgs]
raw docstring

write-messageclj

(write-message buff codec bts)

write-message-for-ackclj

(write-message-for-ack cache-ctx conf msgs buff)

Writes the messages to the buff and send the results of [[offset msgs] ...] to the cache. This function always returns the msgs

Writes the messages to the buff and send the results of [[offset msgs] ...] to the cache.
This function always returns the msgs
raw docstring

write-message-setclj

(write-message-set buff correlation-id codec msgs)

Writes a message set and returns a tuple of [first-offset msgs]

Writes a message set and returns a tuple of [first-offset msgs]
raw docstring

write-requestclj

(write-request buff
               {:keys [client-id codec acks timeout]
                :or {client-id "1" codec 0 acks 1 timeout 1000}
                :as conf}
               msgs)

Writes the messages and return a sequence of [ [offset msgs] ... ] The offset is the first offset in the message set For compressed messages this is the uncompressed message, and allows us to retry message sending.

Writes the messages and return a sequence of [ [offset msgs] ... ] The offset is the first offset in the message set
For compressed messages this is the uncompressed message, and allows us to retry message sending.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close