- Add
#topic
method toKafka::Message
. Thanks @oozzal!
- Upgrade Crystal version to v1.11.2
- Fix to prevent exception when Delivery Report string is null pointer
- Call
rd_kafka_poll
automatically inKafka::Producer
- Rename main src file
- Save statistics option on
Kafka::Producer
- Remove topic + partition name from rebalance log
- Integration & unit tests
- Documentation for all key methods and examples in the README
- Format all files using
crystal tool format
- Add
Fiber.yield
at the start of each loop inKafka::Consumer#each
to allow other Fibers to run in between each iteration - Fix
Invalid memory access
error and raise exception when unknown or invalid config passed toKafka::Consumer.new
- Fix
Invalid memory access
error and raise exception when unknown or invalid config passed toKafka::Producer.new
- Fix
Invalid memory access
error and raise exception whenLibRdKafka.kafka_new
fails to create consumer - Fix
Invalid memory access
error and raise exception whenKafka::Consumer#subscribe
fails to subscribe to topics - Call
rd_kafka_destroy()
after closing consumer as advised in the librdkafka documentation
- Refactor setting rebalancing callback into separate class
- Refactor building of config for Producer/Consumer into separate class
- Improve logging around consumer partition assignment and producer delivery reports
- Forked from https://github.com/CloudKarafka/kafka.cr
- Added new
Kafka::Producer#produce
method without key argument