Automatically assigns topic partitions to consumers.
Automatically assigns topic partitions to consumers.
(clear-subscriptions! this)
(partition-subscriptions this)
(subscribe-to-partitions! this topics)
(subscribe-to-partitions! this topics opts)
Protocol used for implementors that need a specialized algorithm for assigning partitions to Kafka. Example strategies include by range or round-robin. See franzy.clients.consumer.partitioners examples.
Protocol used for implementors that need a specialized algorithm for assigning partitions to Kafka. Example strategies include by range or round-robin. See franzy.clients.consumer.partitioners examples.
(assign-partition! this partitions-per-topic subscriptions)
(partition-assigned this assignment)
(partition-assignor-name this)
(partition-subscription this topics)
Protocol for implementing a Kafka consumer.
For more details regarding Kafka Consumers, see: https://kafka.apache.org/090/javadoc/org/apache/kafka/clients/consumer/Consumer.html
For an example of the Java implementation of this interface for Kafka 0.9 and above, see: https://kafka.apache.org/090/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
Protocol for implementing a Kafka consumer. For more details regarding Kafka Consumers, see: https://kafka.apache.org/090/javadoc/org/apache/kafka/clients/consumer/Consumer.html For an example of the Java implementation of this interface for Kafka 0.9 and above, see: https://kafka.apache.org/090/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
(pause! this topic-partitions)
(poll! this)
(poll! this opts)
(resume! this topic-partitions)
(wakeup! this)
Protocol for behaviors of Kafka result sets (ConsumerRecords)
Protocol for behaviors of Kafka result sets (ConsumerRecords)
(record-count this)
(record-partitions this)
(records-by-topic this topic)
(records-by-topic-partition this topic-partition)
(records-by-topic-partition this topic partition)
Manually assigns topic partitions to consumers.
Manually assigns topic partitions to consumers.
(assign-partitions! this topic-partitions)
(clear-partition-assignments! this)
Commits Kafka offsets, typically to Kafka itself or a highly reliable, fast datastore. For example, an implementor may choose with great reservation to commit to Zookeeper. Then divorce. One day someone will appreciate that you can commit.
Commits Kafka offsets, typically to Kafka itself or a highly reliable, fast datastore. For example, an implementor may choose with great reservation to commit to Zookeeper. Then divorce. One day someone will appreciate that you can commit.
(commit-offsets-async! this)
(commit-offsets-async! this opts)
(commit-offsets-async! this offsets opts)
(commit-offsets-sync! this)
(commit-offsets-sync! this offsets)
(committed-offsets this topic-partition)
Capable of being assigned, and thus auditing assigned partitions.
Capable of being assigned, and thus auditing assigned partitions.
(assigned-partitions this)
Protocol for a log, such as Kafka that is positionally seekable.
Protocol for a log, such as Kafka that is positionally seekable.
(next-offset this topic-partition)
(seek-to-beginning-offset! this topic-partitions)
(seek-to-end-offset! this topic-partitions)
(seek-to-offset! this topic-partition offset)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close