Rdkafka Ruby Versions Save

Modern and performant Kafka client library for Ruby based on librdkafka

v0.15.1

3 months ago
  • [Enhancement] Provide support for Nix OS (alexandriainfantino)
  • [Enhancement] Replace rd_kafka_offset_store with rd_kafka_offsets_store (mensfeld)
  • [Enhancement] Alias topic_name as topic in the delivery report (mensfeld)
  • [Enhancement] Provide label producer handler and report reference for improved traceability (mensfeld)
  • [Enhancement] Include the error when invoking create_result on producer handle (mensfeld)
  • [Enhancement] Skip intermediate array creation on delivery report callback execution (one per message) (mensfeld).
  • [Enhancement] Report -1 instead of nil in case partition_count failure (mensfeld).
  • [Fix] Fix return type on #rd_kafka_poll (mensfeld)
  • [Fix] uint8_t does not exist on Apple Silicon (mensfeld)
  • [Fix] Missing ACL RD_KAFKA_RESOURCE_BROKER constant reference (mensfeld)
  • [Fix] Partition cache caches invalid nil result for PARTITIONS_COUNT_TTL (mensfeld)
  • [Change] Rename matching_acl_pattern_type to matching_acl_resource_pattern_type to align the whole API (mensfeld)

v0.15.0

5 months ago
  • [Feature] Add Admin#metadata (mensfeld)
  • [Feature] Add Admin#create_partitions (mensfeld)
  • [Feature] Add Admin#delete_group utility (piotaixr)
  • [Feature] Add Create and Delete ACL Feature To Admin Functions (vgnanasekaran)
  • [Feature] Support #assignment_lost? on a consumer to check for involuntary assignment revocation (mensfeld)
  • [Enhancement] Expose alternative way of managing consumer events via a separate queue (mensfeld)
  • [Enhancement] Bump librdkafka to 2.3.0 (mensfeld)
  • [Enhancement] Increase the #lag and #query_watermark_offsets default timeouts from 100ms to 1000ms. This will compensate for network glitches and remote clusters operations (mensfeld)
  • [Change] Use SecureRandom.uuid instead of random for test consumer groups (mensfeld)

v0.14.0

6 months ago
  • [Enhancement] Add raise_response_error flag to the Rdkafka::AbstractHandle.
  • [Enhancement] Allow for setting statistics_callback as nil to reset predefined settings configured by a different gem (mensfeld)
  • [Enhancement] Get consumer position (thijsc & mensfeld)
  • [Enhancement] Provide #purge to remove any outstanding requests from the producer (mensfeld)
  • [Enhancement] Update librdkafka to 2.2.0 (mensfeld)
  • [Enhancement] Introduce producer partitions count metadata cache (mensfeld)
  • [Enhancement] Increase metadata timeout request from 250 ms to 2000 ms default to allow for remote cluster operations via rdkafka-ruby (mensfeld)
  • [Enhancement] Introduce #name for producers and consumers (mensfeld)
  • [Enhancement] Include backtrace in non-raised binded errors (mensfeld)
  • [Fix] Reference to Opaque is not released when Admin, Consumer or Producer is closed (mensfeld)
  • [Fix] Trigger #poll on native kafka creation to handle oauthbearer cb (mensfeld)
  • [Fix] #flush does not handle the timeouts errors by making it return true if all flushed or false if failed. We do not raise an exception here to keep it backwards compatible (mensfeld)
  • [Change] Remove support for Ruby 2.6 due to it being EOL and WeakMap incompatibilities (mensfeld)
  • [Change] Update Kafka Docker with Confluent KRaft (mensfeld)
  • [Change] Update librdkafka repo reference from edenhill to confluentinc (mensfeld)