Skip to content

Releases: karafka/karafka-core

v2.5.10

02 Mar 12:02
1b03a47

Choose a tag to compare

  • [Enhancement] Introduce MinitestLocator helper for minitest/spec subject class auto-discovery from test file paths.

v2.5.9

02 Mar 11:17
91dd614

Choose a tag to compare

  • [Enhancement] Optimize StatisticsDecorator to eliminate per-hash Array allocations by using each_pair with a per-call pending-writes buffer instead of current.keys.each, reducing allocations from tens of thousands to one per call at scale.
  • [Enhancement] Inline StatisticsDecorator#append and #suffix_keys_for into #diff to reduce method call overhead by ~96% (from ~915k to ~39k calls at 6400 partitions).
  • [Enhancement] Support excluded_keys option in StatisticsDecorator to skip decoration of unused librdkafka statistics subtrees (e.g. broker toppars, window stats), yielding ~28% additional speedup at scale.

v2.5.8

23 Nov 14:25
eb4a3ef

Choose a tag to compare

  • [Enhancement] Memoize StatisticsDecorator suffix keys to reduce string allocations (#268).

v2.5.7

28 Sep 15:19
3f4eb49

Choose a tag to compare

  • [Enhancement] Optimize Node#deep_dup to reduce array allocations during configuration deep copying.
  • [Enhancement] Optimize Result#initialize to use shared EMPTY_HASH constant for successful validations.
  • [Enhancement] Optimize StatisticsDecorator#append string concatenation to reduce allocations.
  • [Enhancement] Optimize Notifications#instrument payload handling to avoid unnecessary hash merges for empty payloads.
  • [Change] Remove Ruby 3.1 support due to EOL.

v2.5.6

02 Sep 07:05
c28fbcb

Choose a tag to compare

  • [Change] Normalize how libs and dependencies are required (no functional change for the end user)
  • [Change] Set minimum karafka-rdkafka on 0.20.0 to support new features and allow for open range as both waterdrop and karafka manage this.

v2.5.5

04 Aug 19:33
14054aa

Choose a tag to compare

  • [Enhancement] Remove reliance on Set class.

v2.5.4

04 Aug 12:59
314a916

Choose a tag to compare

  • [Fix] Fix old regression on misbehaviour when Object methods are overwritten.

v2.5.3

04 Aug 09:45
52db606

Choose a tag to compare

  • [Enhancement] Optimize code to mitigate the Ruby performance warning from Karafka::Core::Configurable::Node (#208)
  • [Enhancement] Raise errors on detected Ruby warnings.
  • [Change] Remove unused Ruby 2.7 code.
  • [Change] Remove funding_uri from the gemspec to minimize double-funding info.

v2.5.2

11 Jun 12:52
71a67b8

Choose a tag to compare

  • [Enhancement] Support #unsubscribe.
  • [Enhancement] Allow for providing a root scope path for error keys.
  • [Fix] Fix a bug where on no errors the result would be an array instead of a hash.
  • [Fix] Fix spec hanging when Kafka cluster on 9092 is running.

v2.5.1

23 May 14:17
de198c7

Choose a tag to compare

  • [Change] Move to trusted-publishers and remove signing since no longer needed.