sbmt-kafka_producer 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +34 -0
  4. data/Appraisals +24 -0
  5. data/CHANGELOG.md +166 -0
  6. data/Gemfile +5 -0
  7. data/LICENSE +21 -0
  8. data/README.md +167 -0
  9. data/Rakefile +12 -0
  10. data/dip.yml +67 -0
  11. data/docker-compose.yml +15 -0
  12. data/lefthook-local.dip_example.yml +4 -0
  13. data/lefthook.yml +6 -0
  14. data/lib/generators/kafka_producer/concerns/configuration.rb +30 -0
  15. data/lib/generators/kafka_producer/install/USAGE +8 -0
  16. data/lib/generators/kafka_producer/install/install_generator.rb +18 -0
  17. data/lib/generators/kafka_producer/install/templates/kafka_producer.yml +36 -0
  18. data/lib/generators/kafka_producer/outbox_producer/USAGE +9 -0
  19. data/lib/generators/kafka_producer/outbox_producer/outbox_producer_generator.rb +24 -0
  20. data/lib/generators/kafka_producer/producer/USAGE +10 -0
  21. data/lib/generators/kafka_producer/producer/producer_generator.rb +18 -0
  22. data/lib/generators/kafka_producer/producer/templates/producer.rb.erb +11 -0
  23. data/lib/sbmt/kafka_producer/base_producer.rb +103 -0
  24. data/lib/sbmt/kafka_producer/config/auth.rb +62 -0
  25. data/lib/sbmt/kafka_producer/config/kafka.rb +37 -0
  26. data/lib/sbmt/kafka_producer/config/producer.rb +51 -0
  27. data/lib/sbmt/kafka_producer/error_tracker.rb +31 -0
  28. data/lib/sbmt/kafka_producer/instrumentation/open_telemetry_loader.rb +23 -0
  29. data/lib/sbmt/kafka_producer/instrumentation/open_telemetry_tracer.rb +58 -0
  30. data/lib/sbmt/kafka_producer/instrumentation/tracing_middleware.rb +15 -0
  31. data/lib/sbmt/kafka_producer/instrumentation/yabeda_metrics_listener.rb +88 -0
  32. data/lib/sbmt/kafka_producer/kafka_client_factory.rb +61 -0
  33. data/lib/sbmt/kafka_producer/logger.rb +25 -0
  34. data/lib/sbmt/kafka_producer/outbox_producer.rb +11 -0
  35. data/lib/sbmt/kafka_producer/outbox_transport_factory.rb +13 -0
  36. data/lib/sbmt/kafka_producer/railtie.rb +16 -0
  37. data/lib/sbmt/kafka_producer/testing/configure_producer_client.rb +13 -0
  38. data/lib/sbmt/kafka_producer/testing.rb +5 -0
  39. data/lib/sbmt/kafka_producer/types.rb +12 -0
  40. data/lib/sbmt/kafka_producer/version.rb +7 -0
  41. data/lib/sbmt/kafka_producer/yabeda_configurer.rb +62 -0
  42. data/lib/sbmt/kafka_producer.rb +42 -0
  43. data/rubocop/rspec.yml +29 -0
  44. data/sbmt-kafka_producer.gemspec +59 -0
  45. metadata +427 -0
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Sbmt
4
+ module KafkaProducer
5
+ class YabedaConfigurer
6
+ SIZE_BUCKETS = [1, 10, 100, 1000, 10_000, 100_000, 1_000_000].freeze
7
+ LATENCY_BUCKETS = [0.0001, 0.001, 0.01, 0.1, 1.0, 10, 100, 1000].freeze
8
+
9
+ def self.configure
10
+ Yabeda.configure do
11
+ group :kafka_api do
12
+ counter :calls,
13
+ tags: %i[client broker api],
14
+ comment: "API calls"
15
+ histogram :latency,
16
+ tags: %i[client broker api],
17
+ buckets: LATENCY_BUCKETS,
18
+ comment: "API latency"
19
+ histogram :request_size,
20
+ tags: %i[client broker api],
21
+ buckets: SIZE_BUCKETS,
22
+ comment: "API request size"
23
+ histogram :response_size,
24
+ tags: %i[client broker api],
25
+ buckets: SIZE_BUCKETS,
26
+ comment: "API response size"
27
+ counter :errors,
28
+ tags: %i[client broker api],
29
+ comment: "API errors"
30
+ end
31
+
32
+ group :kafka_producer do
33
+ counter :produced_messages,
34
+ tags: %i[client topic],
35
+ comment: "Messages produced"
36
+ histogram :message_size,
37
+ tags: %i[client topic],
38
+ buckets: SIZE_BUCKETS,
39
+ comment: "Producer message size"
40
+ histogram :buffer_size,
41
+ tags: %i[client],
42
+ buckets: SIZE_BUCKETS,
43
+ comment: "Producer buffer size"
44
+ counter :produce_errors,
45
+ tags: %i[client topic],
46
+ comment: "Produce errors"
47
+ counter :deliver_errors,
48
+ tags: %i[client topic],
49
+ comment: "Produce deliver error"
50
+ histogram :deliver_latency,
51
+ tags: %i[client topic],
52
+ buckets: LATENCY_BUCKETS,
53
+ comment: "Produce delivery latency"
54
+ counter :deliver_messages,
55
+ tags: %i[client topic],
56
+ comment: "Total count of delivered messages produced"
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "zeitwerk"
4
+ require "waterdrop"
5
+ require "connection_pool"
6
+ require "dry-initializer"
7
+ require "dry/types"
8
+ require "dry-struct"
9
+ require "yabeda"
10
+ require "anyway_config"
11
+
12
+ require "anyway/rails" if defined?(Rails)
13
+ require_relative "kafka_producer/railtie" if defined?(Rails::Railtie)
14
+
15
+ module Sbmt
16
+ module KafkaProducer
17
+ class << self
18
+ def logger
19
+ @logger ||= Logger.new
20
+ end
21
+ end
22
+ class Error < StandardError; end
23
+ end
24
+ end
25
+
26
+ loader = Zeitwerk::Loader.new
27
+ loader.push_dir(File.join(__dir__, ".."))
28
+ loader.tag = "sbmt-kafka_producer"
29
+ # Do not load vendors instrumentation components. Those need to be required manually if needed
30
+ loader.ignore("#{__dir__}/kafka_producer/version.rb")
31
+ loader.ignore("#{File.expand_path("../", __dir__)}/generators")
32
+
33
+ loader.do_not_eager_load("#{__dir__}/kafka_producer/instrumentation/open_telemetry_loader.rb")
34
+ loader.do_not_eager_load("#{__dir__}/kafka_producer/instrumentation/open_telemetry_tracer.rb")
35
+
36
+ # completely ignore testing helpers
37
+ # because testing.rb just requires some files and does not contain any constants (e.g. Testing) which Zeitwerk expects
38
+ loader.ignore("#{__dir__}/kafka_producer/testing.rb")
39
+ loader.ignore("#{__dir__}/kafka_producer/testing")
40
+
41
+ loader.setup
42
+ loader.eager_load
data/rubocop/rspec.yml ADDED
@@ -0,0 +1,29 @@
1
+ RSpec/AnyInstance:
2
+ Enabled: false
3
+
4
+ RSpec/MultipleExpectations:
5
+ Enabled: false
6
+
7
+ RSpec/LetSetup:
8
+ Enabled: false
9
+
10
+ RSpec/StubbedMock:
11
+ Enabled: false
12
+
13
+ RSpec/MessageSpies:
14
+ Enabled: false
15
+
16
+ RSpec/NestedGroups:
17
+ Enabled: false
18
+
19
+ RSpec/EmptyExampleGroup:
20
+ Enabled: false
21
+
22
+ RSpec/ExampleLength:
23
+ Enabled: false
24
+
25
+ RSpec/MultipleMemoizedHelpers:
26
+ Enabled: false
27
+
28
+ RSpec/VariableName:
29
+ Enabled: false
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/sbmt/kafka_producer/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "sbmt-kafka_producer"
7
+ spec.license = "MIT"
8
+ spec.version = Sbmt::KafkaProducer::VERSION
9
+ spec.authors = ["Sbermarket Ruby-Platform Team"]
10
+
11
+ spec.summary = "Ruby gem for producing Kafka messages"
12
+ spec.description = "This gem is used for producing Kafka messages. It represents a wrapper over Waterdrop gem and is recommended for using as a transport with sbmt-outbox"
13
+ spec.homepage = "https://github.com/SberMarket-Tech/sbmt-kafka_producer"
14
+ spec.required_ruby_version = ">= 2.7.0"
15
+
16
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = spec.homepage
20
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
21
+ spec.metadata["rubygems_mfa_required"] = "false" # rubocop:disable Gemspec/RequireMFA
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ spec.add_dependency "anyway_config", "~> 2.4"
35
+ spec.add_dependency "connection_pool"
36
+ spec.add_dependency "dry-initializer", "~> 3.0"
37
+ spec.add_dependency "dry-struct"
38
+ spec.add_dependency "waterdrop", "~> 2.5"
39
+ spec.add_dependency "zeitwerk", "~> 2.6"
40
+ spec.add_dependency "yabeda", ">= 0.11"
41
+
42
+ spec.add_development_dependency "appraisal", ">= 2.4"
43
+ spec.add_development_dependency "bundler", ">= 2.1"
44
+ spec.add_development_dependency "combustion", ">= 1.3"
45
+ spec.add_development_dependency "opentelemetry-sdk"
46
+ spec.add_development_dependency "opentelemetry-api", ">= 0.17.0"
47
+ spec.add_development_dependency "opentelemetry-common", ">= 0.17.0"
48
+ spec.add_development_dependency "opentelemetry-instrumentation-base", ">= 0.17.0"
49
+ spec.add_development_dependency "rake", ">= 13.0"
50
+ spec.add_development_dependency "rails", ">= 5.2"
51
+ spec.add_development_dependency "rspec", ">= 3.0"
52
+ spec.add_development_dependency "rspec_junit_formatter", ">= 0.6"
53
+ spec.add_development_dependency "rspec-rails", ">= 4.0"
54
+ spec.add_development_dependency "rubocop-rails", ">= 2.5"
55
+ spec.add_development_dependency "rubocop-rspec", ">= 2.11"
56
+ spec.add_development_dependency "sentry-ruby", "> 5.16"
57
+ spec.add_development_dependency "simplecov", "~> 0.16"
58
+ spec.add_development_dependency "standard", ">= 1.12"
59
+ end
metadata ADDED
@@ -0,0 +1,427 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sbmt-kafka_producer
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Sbermarket Ruby-Platform Team
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: anyway_config
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: connection_pool
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dry-initializer
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dry-struct
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: waterdrop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: zeitwerk
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.6'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.6'
97
+ - !ruby/object:Gem::Dependency
98
+ name: yabeda
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0.11'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0.11'
111
+ - !ruby/object:Gem::Dependency
112
+ name: appraisal
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '2.4'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '2.4'
125
+ - !ruby/object:Gem::Dependency
126
+ name: bundler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '2.1'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '2.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: combustion
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '1.3'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '1.3'
153
+ - !ruby/object:Gem::Dependency
154
+ name: opentelemetry-sdk
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: opentelemetry-api
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 0.17.0
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 0.17.0
181
+ - !ruby/object:Gem::Dependency
182
+ name: opentelemetry-common
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 0.17.0
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 0.17.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: opentelemetry-instrumentation-base
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: 0.17.0
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: 0.17.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: rake
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '13.0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '13.0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '5.2'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '5.2'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rspec
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '3.0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '3.0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: rspec_junit_formatter
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0.6'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0.6'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rspec-rails
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '4.0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '4.0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: rubocop-rails
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '2.5'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '2.5'
293
+ - !ruby/object:Gem::Dependency
294
+ name: rubocop-rspec
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '2.11'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '2.11'
307
+ - !ruby/object:Gem::Dependency
308
+ name: sentry-ruby
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">"
312
+ - !ruby/object:Gem::Version
313
+ version: '5.16'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ">"
319
+ - !ruby/object:Gem::Version
320
+ version: '5.16'
321
+ - !ruby/object:Gem::Dependency
322
+ name: simplecov
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - "~>"
326
+ - !ruby/object:Gem::Version
327
+ version: '0.16'
328
+ type: :development
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - "~>"
333
+ - !ruby/object:Gem::Version
334
+ version: '0.16'
335
+ - !ruby/object:Gem::Dependency
336
+ name: standard
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '1.12'
342
+ type: :development
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: '1.12'
349
+ description: This gem is used for producing Kafka messages. It represents a wrapper
350
+ over Waterdrop gem and is recommended for using as a transport with sbmt-outbox
351
+ email:
352
+ executables: []
353
+ extensions: []
354
+ extra_rdoc_files: []
355
+ files:
356
+ - ".rspec"
357
+ - ".rubocop.yml"
358
+ - Appraisals
359
+ - CHANGELOG.md
360
+ - Gemfile
361
+ - LICENSE
362
+ - README.md
363
+ - Rakefile
364
+ - dip.yml
365
+ - docker-compose.yml
366
+ - lefthook-local.dip_example.yml
367
+ - lefthook.yml
368
+ - lib/generators/kafka_producer/concerns/configuration.rb
369
+ - lib/generators/kafka_producer/install/USAGE
370
+ - lib/generators/kafka_producer/install/install_generator.rb
371
+ - lib/generators/kafka_producer/install/templates/kafka_producer.yml
372
+ - lib/generators/kafka_producer/outbox_producer/USAGE
373
+ - lib/generators/kafka_producer/outbox_producer/outbox_producer_generator.rb
374
+ - lib/generators/kafka_producer/producer/USAGE
375
+ - lib/generators/kafka_producer/producer/producer_generator.rb
376
+ - lib/generators/kafka_producer/producer/templates/producer.rb.erb
377
+ - lib/sbmt/kafka_producer.rb
378
+ - lib/sbmt/kafka_producer/base_producer.rb
379
+ - lib/sbmt/kafka_producer/config/auth.rb
380
+ - lib/sbmt/kafka_producer/config/kafka.rb
381
+ - lib/sbmt/kafka_producer/config/producer.rb
382
+ - lib/sbmt/kafka_producer/error_tracker.rb
383
+ - lib/sbmt/kafka_producer/instrumentation/open_telemetry_loader.rb
384
+ - lib/sbmt/kafka_producer/instrumentation/open_telemetry_tracer.rb
385
+ - lib/sbmt/kafka_producer/instrumentation/tracing_middleware.rb
386
+ - lib/sbmt/kafka_producer/instrumentation/yabeda_metrics_listener.rb
387
+ - lib/sbmt/kafka_producer/kafka_client_factory.rb
388
+ - lib/sbmt/kafka_producer/logger.rb
389
+ - lib/sbmt/kafka_producer/outbox_producer.rb
390
+ - lib/sbmt/kafka_producer/outbox_transport_factory.rb
391
+ - lib/sbmt/kafka_producer/railtie.rb
392
+ - lib/sbmt/kafka_producer/testing.rb
393
+ - lib/sbmt/kafka_producer/testing/configure_producer_client.rb
394
+ - lib/sbmt/kafka_producer/types.rb
395
+ - lib/sbmt/kafka_producer/version.rb
396
+ - lib/sbmt/kafka_producer/yabeda_configurer.rb
397
+ - rubocop/rspec.yml
398
+ - sbmt-kafka_producer.gemspec
399
+ homepage: https://github.com/SberMarket-Tech/sbmt-kafka_producer
400
+ licenses:
401
+ - MIT
402
+ metadata:
403
+ allowed_push_host: https://rubygems.org
404
+ homepage_uri: https://github.com/SberMarket-Tech/sbmt-kafka_producer
405
+ source_code_uri: https://github.com/SberMarket-Tech/sbmt-kafka_producer
406
+ changelog_uri: https://github.com/SberMarket-Tech/sbmt-kafka_producer/blob/master/CHANGELOG.md
407
+ rubygems_mfa_required: 'false'
408
+ post_install_message:
409
+ rdoc_options: []
410
+ require_paths:
411
+ - lib
412
+ required_ruby_version: !ruby/object:Gem::Requirement
413
+ requirements:
414
+ - - ">="
415
+ - !ruby/object:Gem::Version
416
+ version: 2.7.0
417
+ required_rubygems_version: !ruby/object:Gem::Requirement
418
+ requirements:
419
+ - - ">="
420
+ - !ruby/object:Gem::Version
421
+ version: '0'
422
+ requirements: []
423
+ rubygems_version: 3.4.10
424
+ signing_key:
425
+ specification_version: 4
426
+ summary: Ruby gem for producing Kafka messages
427
+ test_files: []