fluent-plugin-syslog_rfc5424 0.9.0.rc.2 → 0.9.0.rc.8

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: a0d8021c7dd15031ae5a82304310fc1dc049565c3f8bc1dda1b76f79a7e132ce
4
- data.tar.gz: 2f8acd39bc4909f7105a91d44e6fbe10d706e289d01448a7490ebdf039c9774d
3
+ metadata.gz: b7d200568a10d960a8844fb87ff8aae326b30cc24cb3e51e1c3a9b00109452d8
4
+ data.tar.gz: 5c2ee8da9cbc6e9c91389747324466f87eeeec31d19b9ea27303716907a4ff46
5
5
  SHA512:
6
- metadata.gz: ca5a6e39f5d2a77e8dbd1bbca74f7983ec9746230277bd9b8c6e084e7808d25bc8fd9650c7d07d0cb317a0535128d12904c73f7cd3c45085eb790a2bb51787a1
7
- data.tar.gz: cfdaaf6e529af274214db2eed274408270d35aefdd7d60781bc47e4504c1fecb05d886e2d3236e0774057fe1cf12ed47580a6f4050fcbfcce77d68cfca663648
6
+ metadata.gz: 4ebf0daad2f0ea413240b48ede80e33193f8862e1c8630ef2e56fb6525138d21329b3a5d25e2868af3a731544d8a358d00b7094f346b1717917c0500b10637b0
7
+ data.tar.gz: c5daecd0f8a0a5bd3d11a70069c480c08982f249a574679b0123d80122f3e33dec5fa3068e65cebc77aa867961f0ab99650a88f44d02e4d8f79beb71662ea58e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FluentD Output & Formatter Plugins: Syslog RFC5424
2
2
 
3
- [![Build Status](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424.svg?branch=master)](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424)
3
+ [![Build Status](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424.svg?branch=main)](https://travis-ci.org/cloudfoundry/fluent-plugin-syslog_rfc5424)
4
4
 
5
5
  Formatter plugin adheres to [RFC5424](https://tools.ietf.org/html/rfc5424).
6
6
 
@@ -85,6 +85,8 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/cloudf
85
85
 
86
86
  ## Publishing
87
87
 
88
+ (these steps happen automatically in this pipeline: https://release-integration.ci.cf-app.com/teams/main/pipelines/cf-k8s-logging-validation)
89
+
88
90
  1. Run tests `bundle exec rake`
89
91
  1. Push changes
90
92
  1. Create & push git tag with version
@@ -1,3 +1,3 @@
1
1
  module FluentSyslog5424OutputPlugin
2
- VERSION = "0.9.0.rc.2"
2
+ VERSION = "0.9.0.rc.8"
3
3
  end
@@ -23,6 +23,10 @@ module Fluent
23
23
  @formatter = formatter_create
24
24
  end
25
25
 
26
+ def multi_workers_ready?
27
+ true
28
+ end
29
+
26
30
  def write(chunk)
27
31
  socket = find_or_create_socket(@transport.to_sym, @host, @port)
28
32
  tag = chunk.metadata.tag
@@ -54,10 +58,14 @@ module Fluent
54
58
  end
55
59
 
56
60
  def socket_options
57
- return {} unless @transport == 'tls'
58
-
59
- # TODO: make timeouts configurable
60
- { insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path } #, connect_timeout: 1, send_timeout: 1, recv_timeout: 1, linger_timeout: 1 }
61
+ if @transport == 'udp'
62
+ { connect: true }
63
+ elsif @transport == 'tls'
64
+ # TODO: make timeouts configurable
65
+ { insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path } #, connect_timeout: 1, send_timeout: 1, recv_timeout: 1, linger_timeout: 1 }
66
+ else
67
+ {}
68
+ end
61
69
  end
62
70
 
63
71
  def socket_key(transport, host, port)
@@ -69,4 +77,4 @@ module Fluent
69
77
  end
70
78
  end
71
79
  end
72
- end
80
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog_rfc5424
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.rc.2
4
+ version: 0.9.0.rc.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-16 00:00:00.000000000 Z
11
+ date: 2021-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: 1.3.1
152
152
  requirements: []
153
- rubygems_version: 3.1.2
153
+ rubygems_version: 3.1.6
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: FluentD output plugin to send messages via rfc5424