(->record record)
(delete-all-leases {:keys [scheduler]})
(echo records)
echo consume function. expects records to be UTF-8 decoded
echo consume function. expects records to be UTF-8 decoded
(make-config {:keys [stream-name start-from application-name kinesis-client
dynamo-client cloud-watch-client record-processor-factory]
:as opts})
(make-initial-position {:keys [position timestamp] :as at})
(make-scheduler {:keys [config-builder polling-config]})
(make-utf8-decoder)
(prep-initial-position scheduler start-from delete-leases?)
if there is an existing lease, by default, kinesis client will ignore an initial position that is provided. this deletes existing leases for this app (a.k.a. consumer group) in case there is a position provided
if there is an existing lease, by default, kinesis client will ignore an initial position that is provided. this deletes existing leases for this app (a.k.a. consumer group) in case there is a position provided
(record-checkpoint checkpointer)
(shard-record-processor consume checkpoint-every-ms)
(shard-record-processor-factory consume checkpoint-every-ms)
(show-leases consumer)
(single-stream-tracker {:keys [stream-name start-from]})
(start-consumer {:keys [stream-name application-name region consume start-from
delete-leases? checkpoint-every-ms config]
:or {delete-leases? true}
:as opts})
(stop-consumer {:keys [scheduler executor]})
(validate-consumer-args {:keys [stream-name application-name consume] :as args})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close