File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Rdkafka Changelog
2
2
3
+ ## 0.15.2 (2024-07-10)
4
+ - [ Fix] Switch to local release of librdkafka to mitigate its unavailability.
5
+
3
6
## 0.15.1 (2024-01-30)
4
7
- [ Enhancement] Provide support for Nix OS (alexandriainfantino)
5
8
- [ 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
22
22
ENV [ "LDFLAGS" ] = "-L#{ homebrew_prefix } /lib" unless ENV [ "LDFLAGS" ]
23
23
end
24
24
25
+ releases = File . expand_path ( File . join ( File . dirname ( __FILE__ ) , '../dist' ) )
26
+
25
27
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 " ,
27
29
:sha256 => Rdkafka ::LIBRDKAFKA_SOURCE_SHA256
28
30
}
29
31
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
+
30
40
recipe . cook
31
41
# Move dynamic library we're interested in
32
42
if recipe . host . include? ( 'darwin' )
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module Rdkafka
4
- VERSION = "0.15.1 "
4
+ VERSION = "0.15.2 "
5
5
LIBRDKAFKA_VERSION = "2.3.0"
6
6
LIBRDKAFKA_SOURCE_SHA256 = "2d49c35c77eeb3d42fa61c43757fcbb6a206daa560247154e60642bcdcc14d12"
7
7
end
You can’t perform that action at this time.
0 commit comments