File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11# Rdkafka Changelog
22
3+ ## 0.15.2 (2024-07-10)
4+ - [ Fix] Switch to local release of librdkafka to mitigate its unavailability.
5+
36## 0.15.1 (2024-01-30)
47- [ Enhancement] Provide support for Nix OS (alexandriainfantino)
58- [ Enhancement] Replace ` rd_kafka_offset_store ` with ` rd_kafka_offsets_store ` (mensfeld)
Original file line number Diff line number Diff line change @@ -22,11 +22,21 @@ task :default => :clean do
2222 ENV [ "LDFLAGS" ] = "-L#{ homebrew_prefix } /lib" unless ENV [ "LDFLAGS" ]
2323 end
2424
25+ releases = File . expand_path ( File . join ( File . dirname ( __FILE__ ) , '../dist' ) )
26+
2527 recipe . files << {
26- :url => "https ://codeload.github.com/edenhill/librdkafka/tar.gz/v #{ Rdkafka ::LIBRDKAFKA_VERSION } " ,
28+ :url => "file ://#{ releases } /librdkafka_ #{ Rdkafka ::LIBRDKAFKA_VERSION } .tar.gz " ,
2729 :sha256 => Rdkafka ::LIBRDKAFKA_SOURCE_SHA256
2830 }
2931 recipe . configure_options = [ "--host=#{ recipe . host } " ]
32+
33+ # Disable using libc regex engine in favor of the embedded one
34+ # The default regex engine of librdkafka does not always work exactly as most of the users
35+ # would expect, hence this flag allows for changing it to the other one
36+ if ENV . key? ( 'RDKAFKA_DISABLE_REGEX_EXT' )
37+ recipe . configure_options << '--disable-regex-ext'
38+ end
39+
3040 recipe . cook
3141 # Move dynamic library we're interested in
3242 if recipe . host . include? ( 'darwin' )
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Rdkafka
4- VERSION = "0.15.1 "
4+ VERSION = "0.15.2 "
55 LIBRDKAFKA_VERSION = "2.3.0"
66 LIBRDKAFKA_SOURCE_SHA256 = "2d49c35c77eeb3d42fa61c43757fcbb6a206daa560247154e60642bcdcc14d12"
77end
You can’t perform that action at this time.
0 commit comments