rdkafka 0.25.0-aarch64-linux-gnu → 0.26.0-aarch64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile +5 -6
- data/Gemfile.lint +14 -0
- data/Gemfile.lint.lock +123 -0
- data/README.md +2 -1
- data/Rakefile +21 -21
- data/bin/verify_kafka_warnings +2 -0
- data/docker-compose-ssl.yml +2 -2
- data/docker-compose.yml +2 -2
- data/ext/librdkafka.so +0 -0
- data/lib/rdkafka/admin/acl_binding_result.rb +4 -4
- data/lib/rdkafka/admin/create_acl_handle.rb +4 -4
- data/lib/rdkafka/admin/create_acl_report.rb +0 -2
- data/lib/rdkafka/admin/create_partitions_handle.rb +5 -5
- data/lib/rdkafka/admin/create_topic_handle.rb +5 -5
- data/lib/rdkafka/admin/delete_acl_handle.rb +6 -6
- data/lib/rdkafka/admin/delete_acl_report.rb +2 -3
- data/lib/rdkafka/admin/delete_groups_handle.rb +5 -5
- data/lib/rdkafka/admin/delete_topic_handle.rb +5 -5
- data/lib/rdkafka/admin/describe_acl_handle.rb +6 -6
- data/lib/rdkafka/admin/describe_acl_report.rb +2 -3
- data/lib/rdkafka/admin/describe_configs_handle.rb +4 -4
- data/lib/rdkafka/admin/describe_configs_report.rb +1 -1
- data/lib/rdkafka/admin/incremental_alter_configs_handle.rb +4 -4
- data/lib/rdkafka/admin/incremental_alter_configs_report.rb +1 -1
- data/lib/rdkafka/admin/list_offsets_handle.rb +36 -0
- data/lib/rdkafka/admin/list_offsets_report.rb +51 -0
- data/lib/rdkafka/admin.rb +189 -24
- data/lib/rdkafka/bindings.rb +121 -84
- data/lib/rdkafka/callbacks.rb +53 -10
- data/lib/rdkafka/config.rb +20 -20
- data/lib/rdkafka/consumer/message.rb +5 -8
- data/lib/rdkafka/consumer/partition.rb +2 -2
- data/lib/rdkafka/consumer/topic_partition_list.rb +10 -10
- data/lib/rdkafka/consumer.rb +208 -18
- data/lib/rdkafka/error.rb +25 -14
- data/lib/rdkafka/helpers/oauth.rb +0 -1
- data/lib/rdkafka/helpers/time.rb +5 -0
- data/lib/rdkafka/metadata.rb +16 -16
- data/lib/rdkafka/native_kafka.rb +63 -2
- data/lib/rdkafka/producer/delivery_handle.rb +5 -5
- data/lib/rdkafka/producer/delivery_report.rb +1 -1
- data/lib/rdkafka/producer/partitions_count_cache.rb +6 -6
- data/lib/rdkafka/producer.rb +117 -57
- data/lib/rdkafka/version.rb +3 -3
- data/lib/rdkafka.rb +2 -0
- data/package-lock.json +331 -0
- data/package.json +9 -0
- data/rdkafka.gemspec +39 -40
- data/renovate.json +21 -0
- metadata +8 -2
data/rdkafka.gemspec
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require File.expand_path(
|
|
3
|
+
require File.expand_path("lib/rdkafka/version", __dir__)
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
|
-
gem.authors = [
|
|
6
|
+
gem.authors = ["Thijs Cadier", "Maciej Mensfeld"]
|
|
7
7
|
gem.email = ["contact@karafka.io"]
|
|
8
8
|
gem.description = "Modern Kafka client library for Ruby based on librdkafka"
|
|
9
9
|
gem.summary = "The rdkafka gem is a modern Kafka client library for Ruby based on librdkafka. It wraps the production-ready C client using the ffi gem and targets Kafka 1.0+ and Ruby 2.7+."
|
|
10
|
-
gem.license =
|
|
10
|
+
gem.license = "MIT"
|
|
11
11
|
|
|
12
|
-
gem.
|
|
13
|
-
gem.
|
|
14
|
-
gem.require_paths = ['lib']
|
|
12
|
+
gem.name = "rdkafka"
|
|
13
|
+
gem.require_paths = ["lib"]
|
|
15
14
|
gem.version = Rdkafka::VERSION
|
|
16
|
-
gem.required_ruby_version =
|
|
15
|
+
gem.required_ruby_version = ">= 3.2"
|
|
17
16
|
|
|
18
17
|
files = `git ls-files`.split($\)
|
|
19
18
|
files = files.reject do |file|
|
|
20
|
-
next true if file.start_with?(
|
|
21
|
-
next true if file.start_with?(
|
|
22
|
-
next true if file.start_with?(
|
|
19
|
+
next true if file.start_with?(".")
|
|
20
|
+
next true if file.start_with?("spec/")
|
|
21
|
+
next true if file.start_with?("ext/README.md")
|
|
23
22
|
|
|
24
23
|
false
|
|
25
24
|
end
|
|
26
25
|
|
|
27
|
-
if ENV[
|
|
28
|
-
gem.platform = ENV[
|
|
26
|
+
if ENV["RUBY_PLATFORM"]
|
|
27
|
+
gem.platform = ENV["RUBY_PLATFORM"]
|
|
29
28
|
|
|
30
29
|
# Do not include the source code for librdkafka as it should be precompiled already per
|
|
31
30
|
# platform. Same applies to any possible patches.
|
|
32
31
|
# Do not include github actions details in RubyGems releases
|
|
33
32
|
gem.files = files.reject do |file|
|
|
34
|
-
next true if file.start_with?(
|
|
35
|
-
next true if file.start_with?(
|
|
36
|
-
next true if file.start_with?(
|
|
37
|
-
next true if file.start_with?(
|
|
38
|
-
next true if file.start_with?(
|
|
33
|
+
next true if file.start_with?("dist/")
|
|
34
|
+
next true if file.start_with?("ext/build_")
|
|
35
|
+
next true if file.start_with?("ext/ci_")
|
|
36
|
+
next true if file.start_with?("ext/Rakefile")
|
|
37
|
+
next true if file.start_with?("ext/generate-")
|
|
39
38
|
|
|
40
39
|
false
|
|
41
40
|
end
|
|
42
41
|
|
|
43
42
|
# Add the compiled extensions that exist (not in git)
|
|
44
|
-
if File.exist?(
|
|
45
|
-
gem.files <<
|
|
43
|
+
if File.exist?("ext/librdkafka.so")
|
|
44
|
+
gem.files << "ext/librdkafka.so"
|
|
46
45
|
end
|
|
47
46
|
|
|
48
|
-
if File.exist?(
|
|
49
|
-
gem.files <<
|
|
47
|
+
if File.exist?("ext/librdkafka.dylib")
|
|
48
|
+
gem.files << "ext/librdkafka.dylib"
|
|
50
49
|
end
|
|
51
50
|
else
|
|
52
51
|
gem.platform = Gem::Platform::RUBY
|
|
@@ -54,32 +53,32 @@ Gem::Specification.new do |gem|
|
|
|
54
53
|
# Do not include code used for building native extensions
|
|
55
54
|
# Do not include github actions details in RubyGems releases
|
|
56
55
|
gem.files = files.reject do |file|
|
|
57
|
-
next true if file.start_with?(
|
|
58
|
-
next true if file.start_with?(
|
|
59
|
-
next true if file.start_with?(
|
|
60
|
-
next false unless file.start_with?(
|
|
61
|
-
next false if file.start_with?(
|
|
62
|
-
next false if file.start_with?(
|
|
56
|
+
next true if file.start_with?("ext/build_")
|
|
57
|
+
next true if file.start_with?("ext/ci_")
|
|
58
|
+
next true if file.start_with?("ext/generate-")
|
|
59
|
+
next false unless file.start_with?("dist/")
|
|
60
|
+
next false if file.start_with?("dist/patches")
|
|
61
|
+
next false if file.start_with?("dist/librdkafka-")
|
|
63
62
|
|
|
64
63
|
true
|
|
65
64
|
end
|
|
66
65
|
|
|
67
|
-
gem.extensions = %w
|
|
66
|
+
gem.extensions = %w[ext/Rakefile]
|
|
68
67
|
end
|
|
69
68
|
|
|
70
|
-
gem.add_dependency
|
|
71
|
-
gem.add_dependency
|
|
72
|
-
gem.add_dependency
|
|
73
|
-
gem.add_dependency
|
|
74
|
-
gem.add_dependency
|
|
69
|
+
gem.add_dependency "ffi", "~> 1.17.1"
|
|
70
|
+
gem.add_dependency "json", "> 2.0"
|
|
71
|
+
gem.add_dependency "logger"
|
|
72
|
+
gem.add_dependency "mini_portile2", "~> 2.6"
|
|
73
|
+
gem.add_dependency "rake", "> 12"
|
|
75
74
|
|
|
76
75
|
gem.metadata = {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
"funding_uri" => "https://karafka.io/#become-pro",
|
|
77
|
+
"homepage_uri" => "https://karafka.io",
|
|
78
|
+
"changelog_uri" => "https://karafka.io/docs/Changelog-Rdkafka",
|
|
79
|
+
"bug_tracker_uri" => "https://github.com/karafka/rdkafka-ruby/issues",
|
|
80
|
+
"source_code_uri" => "https://github.com/karafka/rdkafka-ruby",
|
|
81
|
+
"documentation_uri" => "https://karafka.io/docs",
|
|
82
|
+
"rubygems_mfa_required" => "true"
|
|
84
83
|
}
|
|
85
84
|
end
|
data/renovate.json
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
"config:recommended"
|
|
5
5
|
],
|
|
6
6
|
"minimumReleaseAge": "7 days",
|
|
7
|
+
"includePaths": [
|
|
8
|
+
".ruby-version",
|
|
9
|
+
"Gemfile",
|
|
10
|
+
"Gemfile.lint",
|
|
11
|
+
"package.json",
|
|
12
|
+
".github/workflows/**",
|
|
13
|
+
"docker-compose*.yml"
|
|
14
|
+
],
|
|
7
15
|
"github-actions": {
|
|
8
16
|
"enabled": true,
|
|
9
17
|
"pinDigests": true
|
|
@@ -69,5 +77,18 @@
|
|
|
69
77
|
"datasourceTemplate": "github-releases",
|
|
70
78
|
"extractVersionTemplate": "^krb5-(?<version>.*)$"
|
|
71
79
|
}
|
|
80
|
+
],
|
|
81
|
+
"packageRules": [
|
|
82
|
+
{
|
|
83
|
+
"description": "Group ruby/setup-ruby action with ruby version updates",
|
|
84
|
+
"matchPackageNames": [
|
|
85
|
+
"ruby/setup-ruby",
|
|
86
|
+
"ruby"
|
|
87
|
+
],
|
|
88
|
+
"groupName": "ruby setup"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"labels": [
|
|
92
|
+
"dependencies"
|
|
72
93
|
]
|
|
73
94
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdkafka
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.26.0
|
|
5
5
|
platform: aarch64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Thijs Cadier
|
|
@@ -89,6 +89,8 @@ extra_rdoc_files: []
|
|
|
89
89
|
files:
|
|
90
90
|
- CHANGELOG.md
|
|
91
91
|
- Gemfile
|
|
92
|
+
- Gemfile.lint
|
|
93
|
+
- Gemfile.lint.lock
|
|
92
94
|
- MIT-LICENSE
|
|
93
95
|
- README.md
|
|
94
96
|
- Rakefile
|
|
@@ -120,6 +122,8 @@ files:
|
|
|
120
122
|
- lib/rdkafka/admin/describe_configs_report.rb
|
|
121
123
|
- lib/rdkafka/admin/incremental_alter_configs_handle.rb
|
|
122
124
|
- lib/rdkafka/admin/incremental_alter_configs_report.rb
|
|
125
|
+
- lib/rdkafka/admin/list_offsets_handle.rb
|
|
126
|
+
- lib/rdkafka/admin/list_offsets_report.rb
|
|
123
127
|
- lib/rdkafka/bindings.rb
|
|
124
128
|
- lib/rdkafka/callbacks.rb
|
|
125
129
|
- lib/rdkafka/config.rb
|
|
@@ -139,6 +143,8 @@ files:
|
|
|
139
143
|
- lib/rdkafka/producer/delivery_report.rb
|
|
140
144
|
- lib/rdkafka/producer/partitions_count_cache.rb
|
|
141
145
|
- lib/rdkafka/version.rb
|
|
146
|
+
- package-lock.json
|
|
147
|
+
- package.json
|
|
142
148
|
- rdkafka.gemspec
|
|
143
149
|
- renovate.json
|
|
144
150
|
licenses:
|
|
@@ -165,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
165
171
|
- !ruby/object:Gem::Version
|
|
166
172
|
version: '0'
|
|
167
173
|
requirements: []
|
|
168
|
-
rubygems_version: 4.0.
|
|
174
|
+
rubygems_version: 4.0.6
|
|
169
175
|
specification_version: 4
|
|
170
176
|
summary: The rdkafka gem is a modern Kafka client library for Ruby based on librdkafka.
|
|
171
177
|
It wraps the production-ready C client using the ffi gem and targets Kafka 1.0+
|