rdkafka 0.13.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/FUNDING.yml +1 -0
- data/.github/workflows/ci.yml +57 -0
- data/.gitignore +4 -0
- data/.rspec +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +155 -111
- data/{LICENSE → MIT-LICENSE} +2 -1
- data/README.md +60 -39
- data/certs/cert_chain.pem +26 -0
- data/docker-compose.yml +18 -15
- data/ext/README.md +1 -1
- data/ext/Rakefile +43 -26
- data/lib/rdkafka/abstract_handle.rb +40 -26
- data/lib/rdkafka/admin/acl_binding_result.rb +51 -0
- data/lib/rdkafka/admin/create_acl_handle.rb +28 -0
- data/lib/rdkafka/admin/create_acl_report.rb +24 -0
- data/lib/rdkafka/admin/create_partitions_handle.rb +27 -0
- data/lib/rdkafka/admin/create_partitions_report.rb +6 -0
- data/lib/rdkafka/admin/delete_acl_handle.rb +30 -0
- data/lib/rdkafka/admin/delete_acl_report.rb +23 -0
- data/lib/rdkafka/admin/delete_groups_handle.rb +28 -0
- data/lib/rdkafka/admin/delete_groups_report.rb +24 -0
- data/lib/rdkafka/admin/describe_acl_handle.rb +30 -0
- data/lib/rdkafka/admin/describe_acl_report.rb +23 -0
- data/lib/rdkafka/admin.rb +449 -7
- data/lib/rdkafka/bindings.rb +133 -7
- data/lib/rdkafka/callbacks.rb +196 -1
- data/lib/rdkafka/config.rb +53 -19
- data/lib/rdkafka/consumer/headers.rb +2 -4
- data/lib/rdkafka/consumer/topic_partition_list.rb +11 -8
- data/lib/rdkafka/consumer.rb +164 -74
- data/lib/rdkafka/helpers/time.rb +14 -0
- data/lib/rdkafka/metadata.rb +22 -1
- data/lib/rdkafka/native_kafka.rb +6 -1
- data/lib/rdkafka/producer/delivery_handle.rb +12 -1
- data/lib/rdkafka/producer/delivery_report.rb +16 -3
- data/lib/rdkafka/producer.rb +121 -13
- data/lib/rdkafka/version.rb +3 -3
- data/lib/rdkafka.rb +21 -1
- data/rdkafka.gemspec +19 -5
- data/renovate.json +6 -0
- data/spec/rdkafka/abstract_handle_spec.rb +0 -2
- data/spec/rdkafka/admin/create_acl_handle_spec.rb +56 -0
- data/spec/rdkafka/admin/create_acl_report_spec.rb +18 -0
- data/spec/rdkafka/admin/create_topic_handle_spec.rb +0 -2
- data/spec/rdkafka/admin/create_topic_report_spec.rb +0 -2
- data/spec/rdkafka/admin/delete_acl_handle_spec.rb +85 -0
- data/spec/rdkafka/admin/delete_acl_report_spec.rb +72 -0
- data/spec/rdkafka/admin/delete_topic_handle_spec.rb +0 -2
- data/spec/rdkafka/admin/delete_topic_report_spec.rb +0 -2
- data/spec/rdkafka/admin/describe_acl_handle_spec.rb +85 -0
- data/spec/rdkafka/admin/describe_acl_report_spec.rb +73 -0
- data/spec/rdkafka/admin_spec.rb +205 -2
- data/spec/rdkafka/bindings_spec.rb +0 -1
- data/spec/rdkafka/callbacks_spec.rb +0 -2
- data/spec/rdkafka/config_spec.rb +8 -2
- data/spec/rdkafka/consumer/headers_spec.rb +0 -2
- data/spec/rdkafka/consumer/message_spec.rb +0 -2
- data/spec/rdkafka/consumer/partition_spec.rb +0 -2
- data/spec/rdkafka/consumer/topic_partition_list_spec.rb +19 -2
- data/spec/rdkafka/consumer_spec.rb +232 -39
- data/spec/rdkafka/error_spec.rb +0 -2
- data/spec/rdkafka/metadata_spec.rb +2 -3
- data/spec/rdkafka/native_kafka_spec.rb +2 -3
- data/spec/rdkafka/producer/delivery_handle_spec.rb +0 -2
- data/spec/rdkafka/producer/delivery_report_spec.rb +4 -2
- data/spec/rdkafka/producer_spec.rb +183 -3
- data/spec/spec_helper.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +78 -14
- metadata.gz.sig +0 -0
- data/.semaphore/semaphore.yml +0 -27
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdkafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thijs Cadier
|
8
|
-
|
8
|
+
- Maciej Mensfeld
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
11
|
+
cert_chain:
|
12
|
+
- |
|
13
|
+
-----BEGIN CERTIFICATE-----
|
14
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRAwDgYDVQQDDAdjb250
|
15
|
+
YWN0MRcwFQYKCZImiZPyLGQBGRYHa2FyYWZrYTESMBAGCgmSJomT8ixkARkWAmlv
|
16
|
+
MB4XDTIzMDgyMTA3MjU1NFoXDTI0MDgyMDA3MjU1NFowPzEQMA4GA1UEAwwHY29u
|
17
|
+
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkiaJk/IsZAEZFgJp
|
18
|
+
bzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAOuZpyQKEwsTG9plLat7
|
19
|
+
8bUaNuNBEnouTsNMr6X+XTgvyrAxTuocdsyP1sNCjdS1B8RiiDH1/Nt9qpvlBWon
|
20
|
+
sdJ1SYhaWNVfqiYStTDnCx3PRMmHRdD4KqUWKpN6VpZ1O/Zu+9Mw0COmvXgZuuO9
|
21
|
+
wMSJkXRo6dTCfMedLAIxjMeBIxtoLR2e6Jm6MR8+8WYYVWrO9kSOOt5eKQLBY7aK
|
22
|
+
b/Dc40EcJKPg3Z30Pia1M9ZyRlb6SOj6SKpHRqc7vbVQxjEw6Jjal1lZ49m3YZMd
|
23
|
+
ArMAs9lQZNdSw5/UX6HWWURLowg6k10RnhTUtYyzO9BFev0JFJftHnmuk8vtb+SD
|
24
|
+
5VPmjFXg2VOcw0B7FtG75Vackk8QKfgVe3nSPhVpew2CSPlbJzH80wChbr19+e3+
|
25
|
+
YGr1tOiaJrL6c+PNmb0F31NXMKpj/r+n15HwlTMRxQrzFcgjBlxf2XFGnPQXHhBm
|
26
|
+
kp1OFnEq4GG9sON4glRldkwzi/f/fGcZmo5fm3d+0ZdNgwIDAQABo3cwdTAJBgNV
|
27
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUPVH5+dLA80A1kJ2Uz5iGwfOa
|
28
|
+
1+swHQYDVR0RBBYwFIESY29udGFjdEBrYXJhZmthLmlvMB0GA1UdEgQWMBSBEmNv
|
29
|
+
bnRhY3RAa2FyYWZrYS5pbzANBgkqhkiG9w0BAQsFAAOCAYEAnpa0jcN7JzREHMTQ
|
30
|
+
bfZ+xcvlrzuROMY6A3zIZmQgbnoZZNuX4cMRrT1p1HuwXpxdpHPw7dDjYqWw3+1h
|
31
|
+
3mXLeMuk7amjQpYoSWU/OIZMhIsARra22UN8qkkUlUj3AwTaChVKN/bPJOM2DzfU
|
32
|
+
kz9vUgLeYYFfQbZqeI6SsM7ltilRV4W8D9yNUQQvOxCFxtLOetJ00fC/E7zMUzbK
|
33
|
+
IBwYFQYsbI6XQzgAIPW6nGSYKgRhkfpmquXSNKZRIQ4V6bFrufa+DzD0bt2ZA3ah
|
34
|
+
fMmJguyb5L2Gf1zpDXzFSPMG7YQFLzwYz1zZZvOU7/UCpQsHpID/YxqDp4+Dgb+Y
|
35
|
+
qma0whX8UG/gXFV2pYWpYOfpatvahwi+A1TwPQsuZwkkhi1OyF1At3RY+hjSXyav
|
36
|
+
AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
|
37
|
+
msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: ffi
|
@@ -138,32 +166,47 @@ dependencies:
|
|
138
166
|
version: '0'
|
139
167
|
description: Modern Kafka client library for Ruby based on librdkafka
|
140
168
|
email:
|
141
|
-
-
|
169
|
+
- contact@karafka.io
|
142
170
|
executables: []
|
143
171
|
extensions:
|
144
172
|
- ext/Rakefile
|
145
173
|
extra_rdoc_files: []
|
146
174
|
files:
|
175
|
+
- ".github/FUNDING.yml"
|
176
|
+
- ".github/workflows/ci.yml"
|
147
177
|
- ".gitignore"
|
148
178
|
- ".rspec"
|
149
|
-
- ".
|
179
|
+
- ".ruby-gemset"
|
180
|
+
- ".ruby-version"
|
150
181
|
- ".yardopts"
|
151
182
|
- CHANGELOG.md
|
152
183
|
- Gemfile
|
153
184
|
- Guardfile
|
154
|
-
- LICENSE
|
185
|
+
- MIT-LICENSE
|
155
186
|
- README.md
|
156
187
|
- Rakefile
|
188
|
+
- certs/cert_chain.pem
|
157
189
|
- docker-compose.yml
|
158
190
|
- ext/README.md
|
159
191
|
- ext/Rakefile
|
160
192
|
- lib/rdkafka.rb
|
161
193
|
- lib/rdkafka/abstract_handle.rb
|
162
194
|
- lib/rdkafka/admin.rb
|
195
|
+
- lib/rdkafka/admin/acl_binding_result.rb
|
196
|
+
- lib/rdkafka/admin/create_acl_handle.rb
|
197
|
+
- lib/rdkafka/admin/create_acl_report.rb
|
198
|
+
- lib/rdkafka/admin/create_partitions_handle.rb
|
199
|
+
- lib/rdkafka/admin/create_partitions_report.rb
|
163
200
|
- lib/rdkafka/admin/create_topic_handle.rb
|
164
201
|
- lib/rdkafka/admin/create_topic_report.rb
|
202
|
+
- lib/rdkafka/admin/delete_acl_handle.rb
|
203
|
+
- lib/rdkafka/admin/delete_acl_report.rb
|
204
|
+
- lib/rdkafka/admin/delete_groups_handle.rb
|
205
|
+
- lib/rdkafka/admin/delete_groups_report.rb
|
165
206
|
- lib/rdkafka/admin/delete_topic_handle.rb
|
166
207
|
- lib/rdkafka/admin/delete_topic_report.rb
|
208
|
+
- lib/rdkafka/admin/describe_acl_handle.rb
|
209
|
+
- lib/rdkafka/admin/describe_acl_report.rb
|
167
210
|
- lib/rdkafka/bindings.rb
|
168
211
|
- lib/rdkafka/callbacks.rb
|
169
212
|
- lib/rdkafka/config.rb
|
@@ -173,6 +216,7 @@ files:
|
|
173
216
|
- lib/rdkafka/consumer/partition.rb
|
174
217
|
- lib/rdkafka/consumer/topic_partition_list.rb
|
175
218
|
- lib/rdkafka/error.rb
|
219
|
+
- lib/rdkafka/helpers/time.rb
|
176
220
|
- lib/rdkafka/metadata.rb
|
177
221
|
- lib/rdkafka/native_kafka.rb
|
178
222
|
- lib/rdkafka/producer.rb
|
@@ -180,11 +224,18 @@ files:
|
|
180
224
|
- lib/rdkafka/producer/delivery_report.rb
|
181
225
|
- lib/rdkafka/version.rb
|
182
226
|
- rdkafka.gemspec
|
227
|
+
- renovate.json
|
183
228
|
- spec/rdkafka/abstract_handle_spec.rb
|
229
|
+
- spec/rdkafka/admin/create_acl_handle_spec.rb
|
230
|
+
- spec/rdkafka/admin/create_acl_report_spec.rb
|
184
231
|
- spec/rdkafka/admin/create_topic_handle_spec.rb
|
185
232
|
- spec/rdkafka/admin/create_topic_report_spec.rb
|
233
|
+
- spec/rdkafka/admin/delete_acl_handle_spec.rb
|
234
|
+
- spec/rdkafka/admin/delete_acl_report_spec.rb
|
186
235
|
- spec/rdkafka/admin/delete_topic_handle_spec.rb
|
187
236
|
- spec/rdkafka/admin/delete_topic_report_spec.rb
|
237
|
+
- spec/rdkafka/admin/describe_acl_handle_spec.rb
|
238
|
+
- spec/rdkafka/admin/describe_acl_report_spec.rb
|
188
239
|
- spec/rdkafka/admin_spec.rb
|
189
240
|
- spec/rdkafka/bindings_spec.rb
|
190
241
|
- spec/rdkafka/callbacks_spec.rb
|
@@ -201,11 +252,18 @@ files:
|
|
201
252
|
- spec/rdkafka/producer/delivery_report_spec.rb
|
202
253
|
- spec/rdkafka/producer_spec.rb
|
203
254
|
- spec/spec_helper.rb
|
204
|
-
homepage:
|
255
|
+
homepage:
|
205
256
|
licenses:
|
206
257
|
- MIT
|
207
|
-
metadata:
|
208
|
-
|
258
|
+
metadata:
|
259
|
+
funding_uri: https://karafka.io/#become-pro
|
260
|
+
homepage_uri: https://karafka.io
|
261
|
+
changelog_uri: https://github.com/karafka/rdkafka-ruby/blob/main/CHANGELOG.md
|
262
|
+
bug_tracker_uri: https://github.com/karafka/rdkafka-ruby/issues
|
263
|
+
source_code_uri: https://github.com/karafka/rdkafka-ruby
|
264
|
+
documentation_uri: https://github.com/karafka/rdkafka-ruby/blob/main/README.md
|
265
|
+
rubygems_mfa_required: 'true'
|
266
|
+
post_install_message:
|
209
267
|
rdoc_options: []
|
210
268
|
require_paths:
|
211
269
|
- lib
|
@@ -213,25 +271,31 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
271
|
requirements:
|
214
272
|
- - ">="
|
215
273
|
- !ruby/object:Gem::Version
|
216
|
-
version: '2.
|
274
|
+
version: '2.7'
|
217
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
276
|
requirements:
|
219
277
|
- - ">="
|
220
278
|
- !ruby/object:Gem::Version
|
221
279
|
version: '0'
|
222
280
|
requirements: []
|
223
|
-
rubygems_version: 3.
|
224
|
-
signing_key:
|
281
|
+
rubygems_version: 3.5.3
|
282
|
+
signing_key:
|
225
283
|
specification_version: 4
|
226
284
|
summary: The rdkafka gem is a modern Kafka client library for Ruby based on librdkafka.
|
227
285
|
It wraps the production-ready C client using the ffi gem and targets Kafka 1.0+
|
228
|
-
and Ruby 2.
|
286
|
+
and Ruby 2.7+.
|
229
287
|
test_files:
|
230
288
|
- spec/rdkafka/abstract_handle_spec.rb
|
289
|
+
- spec/rdkafka/admin/create_acl_handle_spec.rb
|
290
|
+
- spec/rdkafka/admin/create_acl_report_spec.rb
|
231
291
|
- spec/rdkafka/admin/create_topic_handle_spec.rb
|
232
292
|
- spec/rdkafka/admin/create_topic_report_spec.rb
|
293
|
+
- spec/rdkafka/admin/delete_acl_handle_spec.rb
|
294
|
+
- spec/rdkafka/admin/delete_acl_report_spec.rb
|
233
295
|
- spec/rdkafka/admin/delete_topic_handle_spec.rb
|
234
296
|
- spec/rdkafka/admin/delete_topic_report_spec.rb
|
297
|
+
- spec/rdkafka/admin/describe_acl_handle_spec.rb
|
298
|
+
- spec/rdkafka/admin/describe_acl_report_spec.rb
|
235
299
|
- spec/rdkafka/admin_spec.rb
|
236
300
|
- spec/rdkafka/bindings_spec.rb
|
237
301
|
- spec/rdkafka/callbacks_spec.rb
|
metadata.gz.sig
ADDED
Binary file
|
data/.semaphore/semaphore.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
version: v1.0
|
2
|
-
name: Rdkafka Ruby
|
3
|
-
|
4
|
-
agent:
|
5
|
-
machine:
|
6
|
-
type: e1-standard-4
|
7
|
-
os_image: ubuntu1804
|
8
|
-
|
9
|
-
blocks:
|
10
|
-
- name: Run specs
|
11
|
-
task:
|
12
|
-
prologue:
|
13
|
-
commands:
|
14
|
-
- sudo apt install -y valgrind
|
15
|
-
jobs:
|
16
|
-
- name: bundle exec rspec
|
17
|
-
matrix:
|
18
|
-
- env_var: RUBY_VERSION
|
19
|
-
values: [ "2.6.10", "2.7.6", "3.0.4", "3.1.2"]
|
20
|
-
commands:
|
21
|
-
- sem-version ruby $RUBY_VERSION
|
22
|
-
- checkout
|
23
|
-
- docker-compose up -d --no-recreate
|
24
|
-
- bundle install --path vendor/bundle
|
25
|
-
- cd ext && bundle exec rake && cd ..
|
26
|
-
- ulimit -c unlimited
|
27
|
-
- valgrind -v bundle exec rspec
|