kafka-utils
->schema-registry
(->schema-registry config)
assign-partition-0
(assign-partition-0 consumer topic)
assign-partitions
(assign-partitions consumer topic-partitions)
committed-info
(committed-info consumer)
normalize-kafka-config
(normalize-kafka-config config)
Normalise configuration map into a format required by kafka.
poll*
(poll* consumer & {:keys [expected-msgs retries poll-timeout], :or {expected-msgs 1, retries 500, poll-timeout 20}})
produce
(produce config topic schema val)
(produce topic schema val)
seek-to-beginning
(seek-to-beginning consumer)
seek-to-end
(seek-to-end consumer)
subscribe
(subscribe consumer & topics)
unsubscribe
(unsubscribe consumer)
with-1-partition-consumer-from-end
(with-1-partition-consumer-from-end config topic f)
(with-1-partition-consumer-from-end topic f)
with-consumer
(with-consumer config f)
(with-consumer f)
with-producer
(with-producer config schema f)