(_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_next it)
(_map-values-seq it)
(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.
(close-retry-cache _)
(closed? {{:keys [db]} :retry-cache})
(create-retry-cache {:keys [retry-cache-file]
:or {retry-cache-file (str (tmp-dir) "/kafka-retry-cache")}
:as conf})
(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-cache {:keys [retry-cache]} key-val)
(get-sent-message {:keys [send-cache]} topic partition corr-id)
(map-values m)
(retry-cache-seq {:keys [retry-cache] :as connector})
(tmp-dir)
(write-to-retry-cache {:keys [retry-cache]} topic v)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close