Liking cljdoc? Tell your friends :D

kafka-clj.msg-persist


_create-retry-cacheclj

(_create-retry-cache {:keys [retry-cache-file retry-cache-delete-on-exit]
                      :or {retry-cache-delete-on-exit false
                           retry-cache-file "/tmp/kafka-retry-cache"}})

_it_nextclj

(_it_next it)

_map-values-seqclj

(_map-values-seq it)

cache-sent-messagesclj

(cache-sent-messages {:keys [send-cache]} offsets)

Offsets is expected to have format [[corr-id msgs]...] msgs is a list of messages (of maps with keys topic partition), and corr-id a long value For any msgs sequence all messages must be from the same partition.

Offsets is expected to have format [[corr-id msgs]...]
msgs is a list of messages (of maps with keys topic partition), and corr-id a long value
For any msgs sequence all messages must be from the same partition.
raw docstring

close-retry-cacheclj

(close-retry-cache _)

closed?clj

(closed? {{:keys [db]} :retry-cache})

create-retry-cacheclj

(create-retry-cache {:keys [retry-cache-file]
                     :or {retry-cache-file (str (tmp-dir) "/kafka-retry-cache")}
                     :as conf})

create-send-cacheclj

(create-send-cache {:keys [send-cache-size-limit send-cache-max-entries
                           send-cache-expire-after-write
                           send-cache-expire-after-access]
                    :or {send-cache-size-limit 4
                         send-cache-max-entries 2000000
                         send-cache-expire-after-write 5
                         send-cache-expire-after-access 5}})

delete-from-retry-cacheclj

(delete-from-retry-cache {:keys [retry-cache]} key-val)

get-sent-messageclj

(get-sent-message {:keys [send-cache]} topic partition corr-id)

map-valuesclj

(map-values m)

retry-cache-seqclj

(retry-cache-seq {:keys [retry-cache] :as connector})

tmp-dirclj

(tmp-dir)

write-to-retry-cacheclj

(write-to-retry-cache {:keys [retry-cache]} topic v)

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

× close