messaging 3.7.1 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/messaging/adapters/kafka.rb +2 -2
- data/lib/messaging/config.rb +5 -0
- data/lib/messaging/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f821ea60a3f97b473dc5d30434d6ae73c5a5a73f6409736f2f700a194072de0
|
4
|
+
data.tar.gz: 4db14a6944a82b670f205e8e5a24981b2f1e8d28eaefae72ee5a0a1687c18718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59dde5072d1c670f5b7976a92387d7ffb2bf5efcf0701af64ba1cc118f5ca592f1c2809a480219ebdad9893463d190e6dcf9b0918b18c993deb6cbd0b863de13
|
7
|
+
data.tar.gz: 5bce59fffda5491bbaf25d9adb7feff5f2ef21f95c99a89577a461e5de4247b4fbb991fd2c1e33ca08a5c2f890f690dc9d79acb2c904c72957b56ca7d9cc8a2a
|
data/Gemfile.lock
CHANGED
@@ -27,7 +27,7 @@ module Messaging
|
|
27
27
|
|
28
28
|
# Internal: Setup a Ruby-Kafka consumer
|
29
29
|
def create_kafka_consumer(group_id)
|
30
|
-
client.consumer({ group_id: group_id }.merge(Config.kafka.consumer.
|
30
|
+
client.consumer({ group_id: group_id }.merge(Config.kafka.consumer.to_h))
|
31
31
|
end
|
32
32
|
|
33
33
|
private
|
@@ -37,7 +37,7 @@ module Messaging
|
|
37
37
|
# We have a specific logger for Ruby-Kafka as it
|
38
38
|
# is a bit more noisy than we would like.
|
39
39
|
kafka_logger = Messaging.logger.dup.tap { |logger| logger.level = Config.kafka.log_level }
|
40
|
-
::Kafka.new(Config.kafka.client.
|
40
|
+
::Kafka.new(Config.kafka.client.to_h.merge(client_id: Config.app_name, logger: kafka_logger))
|
41
41
|
end
|
42
42
|
|
43
43
|
def self.register!
|
data/lib/messaging/config.rb
CHANGED
data/lib/messaging/version.rb
CHANGED