Karafka v2.0.0-alpha1 Release Notes
Release Date: 2022-01-30 // about 2 years ago-
- ๐ Change license to
LGPL-3.0
- [Pro] Introduce a Pro subscription
- ๐ Switch from
ruby-kafka
tolibrdkafka
as an underlying driver - โ Introduce fully automatic integration tests that go through the whole server lifecycle
- โ Integrate WaterDrop tightly with autoconfiguration inheritance and an option to redefine it
- ๐ท Multi-threaded support for concurrent jobs consumption (when in separate topics and/or partitions)
- ๐ Introduce subscriptions groups concept for better resources management
- โ Remove completely all the callbacks in favour of finalizer method
#on_shutdown
- Provide
on_revoked
method for taking actions upon topic revoke - โ Remove single message consumption mode in favour of documentation on how to do it easily by yourself
- ๐ Provide sync and async offset management with async preferred
- ๐ Introduce seamless Ruby on Rails integration via
Rails::Railte
- โก๏ธ Update
cli info
to reflect the2.0
details - โ Remove responders in favour of WaterDrop
2.0
producer - โ Remove pidfiles support
- โ Remove daemonization support
- ๐ง Stop validating
kafka
configuration beyond minimum as it is handled bylibrdkafka
- โ Remove topics mappers concept
- Reorganize monitoring to match new concepts
- ๐ท Notify on fatal worker processing errors
- ๐ Rename
Karafka::Params::BatchMetadata
toKarafka::Messages::BatchMetadata
- ๐ Rename
Karafka::Params::Params
toKarafka::Messages::Message
- ๐ Rename
#params_batch
in consumers to#messages
- ๐ Rename
Karafka::Params::Metadata
toKarafka::Messages::Metadata
- ๐ Allow for processing work of multiple consumer groups by the same worker poll
- ๐ Rename
Karafka::Fetcher
toKarafka::Runner
and align notifications key names - โก๏ธ Update install templates
- ๐
sidekiq-backend
is no longer supported - โก๏ธ
testing
gem for RSpec has been updated - ๐
WaterDrop
2.1+
support - ๐
Simple routing style (
0.5
) now builds a single consumer group instead of one per topic - โก๏ธ Example apps were updated
- Hook for underlying statistics emitted from librdkafka have been added
- Hook for underlying async errors emitted from librdkafka have been added
- ๐ท ActiveJob Rails adapter
- โ Added benchmarks that can be used to profile Karafka
- Standardize error hook for all error reporting
- ๐ Change license to