logstash-output-azure_service_bus 0.1.3 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86afcaf954af103be089a59d6fecb8f6fe4f2d69b5190f7ffd6ad33648a46054
|
4
|
+
data.tar.gz: 29e8e7fa58b69b713df750609609a96e4a4f0d2000f37362cae92d20a36104ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 242299e9ab1b5bc4ca4adb3af61976d05fe5216331a82b91dad00e19099187faeb0b90daa870b987a404ddbc50af18c13c44344a7adea648f83d967dd1431d64
|
7
|
+
data.tar.gz: 31fca87e475ae0e52ff5654f88b59f9a5efa84c739425938c853b4691f50b3ed241306bb7ec249f1e240571b55293a2fd7ee40301043f01d807b112a16057961
|
@@ -20,7 +20,7 @@ class LogStash::Outputs::AzureServiceBus < LogStash::Outputs::Base
|
|
20
20
|
retry_statuses: [429, 500],
|
21
21
|
exceptions: [Faraday::ConnectionFailed, Faraday::TimeoutError, Faraday::RetriableResponse],
|
22
22
|
methods: %i[get post],
|
23
|
-
retry_block: ->(
|
23
|
+
retry_block: ->(env, _options, retries, exception) { @logger.error("Error (#{exception}) for #{env.method.upcase} #{env.url} - #{retries + 1} retry(s) left") }
|
24
24
|
}
|
25
25
|
@token_conn = Faraday.new(
|
26
26
|
url: 'http://169.254.169.254/metadata/identity/oauth2/token',
|
@@ -32,7 +32,7 @@ class LogStash::Outputs::AzureServiceBus < LogStash::Outputs::Base
|
|
32
32
|
end
|
33
33
|
@service_bus_conn = Faraday.new(
|
34
34
|
url: "https://#{@service_bus_namespace}.servicebus.windows.net/#{@service_bus_entity}/",
|
35
|
-
request: { timeout:
|
35
|
+
request: { timeout: 10 }
|
36
36
|
) do |f|
|
37
37
|
f.request :retry, retry_options
|
38
38
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-azure_service_bus'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.6'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = 'Send Logstash messages to Azure Service Bus.'
|
6
6
|
s.homepage = 'https://github.com/gharryg/logstash-output-azure_service_bus'
|