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 to librdkafka 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 the 2.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 by librdkafka
    • โœ‚ Remove topics mappers concept
    • Reorganize monitoring to match new concepts
    • ๐Ÿ‘ท Notify on fatal worker processing errors
    • ๐Ÿ“‡ Rename Karafka::Params::BatchMetadata to Karafka::Messages::BatchMetadata
    • ๐Ÿ“‡ Rename Karafka::Params::Params to Karafka::Messages::Message
    • ๐Ÿ“‡ Rename #params_batch in consumers to #messages
    • ๐Ÿ“‡ Rename Karafka::Params::Metadata to Karafka::Messages::Metadata
    • ๐Ÿ‘ Allow for processing work of multiple consumer groups by the same worker poll
    • ๐Ÿ“‡ Rename Karafka::Fetcher to Karafka::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