All notable changes to Gregor will be documented in this file.
- upgrade to Kafka 2.1.1
- upgrade to Clojure 1.10
- upgrade lein-eftest to 0.5.6
- drop lein-codox for cljdoc
- PR #5: close with timeout for
KafkaConsumer
- refactor docstrings
- upgrade to Kafka
2.0.0
- support producer, consumer timestamp fields adding arities to send functions
- avoid NPE in send-then
- upgrade to Kafka
0.11.0.0
- upgrade to Kafka
0.11.0.0
- Fix rack-aware-mode-constant by replacing class with object instance.
- new function
topics
which lists existing Kafka topics.
- upgrade to Kafka
0.10.0.1
kafka.admin.AdminUtils/createTopic
acquired another argument in0.10
. It's an additional optional argument forcreate-topic
.
- fix producer doc link
- remove unused Java class import
- Closeable protocol for consumers and producers via Pull Request #9 which includes closing a producer with a timeout in seconds.
- Use Kafka 0.9 compiled with Scala 2.11 instead of 2.10 because the Kafka maintainers recommend to do so.
Topic management via Pull Request #5:
create-topic
: Create a new topic.topic-exists?
: Check if a topic exists.delete-topic
: Delete an existing topic.
- Pull Request #7: Avoid a
NullPointerException
in the rebalance listener. - Pull Request #4: Exclude
clojure.core/flush
andclojure.core/send
.
- vars for byte-array (de)serializers
Apologies for the several (pretty minor) breaking changes.
- Arity of
resume
andpause
now aligns with the rest of the API (assoc
-like optional arg pairs) commit-offsets-async!
andcommit-offsets!
optional argoffsets
is now a seq of maps with:topic
,:partition
,:offset
and optional:metadata
keys.commited
now returnsnil
or a map with:offset
and:metadata
keys.send
no longer supports a callback, usesend-then
instead.
- Second
seek-to!
arg is now namedoffset
. send
has new arities that correspond to those of theProducerRecord
constructor.
resume
andpause
no longer have the same implementation.- Merge pull request from
lambdahands
which fixes issue w/ overwritten custom (de)serializers in producer and consumer configs.
send-then
function which providessend
a callback. This callback expects a map of metadata and an exception as its args.->producer-record
function.
- First public release: added most of API