franz 2.2.3 → 2.2.4

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
  SHA1:
3
- metadata.gz: 0082fd7ad9dc467ca6784ea44500b35cba7b57da
4
- data.tar.gz: bbf6a2e929c8e6081ed3a3dad6eb6d0319e30df7
3
+ metadata.gz: ed9cc1916a36f3ad7f91131804012be4d7b38915
4
+ data.tar.gz: c2431f6b96337ecd42018474594c2abc419890f7
5
5
  SHA512:
6
- metadata.gz: a0f57203664109685e72b08c530fbe36063c23a41f47c02440a02f65669363600507689130b4b79f6962718136f25ca5dc9917ddab848addb33b53c22126fdf0
7
- data.tar.gz: 4a3d2c1191ec3ba7753346ea8e821be30105998c6c3e4f05253d488670b51f36a5887b4c0c2098f5b162543f867be2495f1c697b9ee8818be406be7c245e9883
6
+ metadata.gz: 111974a8f60d0d3dfa45bdeb4f96aa2fbedb9d57f4362801716127630661d54b26b6cad7b9422d874e7168b7cef46ef37ad1aaa9133bb39591e03d0b9214cdf6
7
+ data.tar.gz: 2ae2e2042d1b2e8081571daa59ede93ae4296d6f4c5288ed2e95ee77bde7518570888b1136e8920b819c396887929623a89113c936283003c7df4935e6e0fbc7
data/Readme.md CHANGED
@@ -134,7 +134,6 @@ It's kinda like a JSON version of the Logstash config language:
134
134
  "flush_interval": 45, // Period to flush multiline events
135
135
  "block_size": 102400, // Block size for tail reads
136
136
  "read_limit": 512000, // Maximum size for a read
137
- "line_limit": 512000, // Maximum size for a line
138
137
  "buffer_limit": 300, // Maximum lines for multiline
139
138
  "tail_bound": 15000, // Limit tail queue size
140
139
  "play_catchup?": true // Pick up where we left off
@@ -230,6 +229,7 @@ for Chef.
230
229
  - No more `TRACE`-level logging (demoted to `DEBUG`)
231
230
  - Better command-line options backed by environment variables
232
231
  - Basic Auth support in HTTP output
232
+ - Upgraded EventMachine, removed `line_limit` option
233
233
 
234
234
 
235
235
  #### v2.1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.3
1
+ 2.2.4
@@ -24,7 +24,7 @@ module Franz
24
24
  TRAVELING_RUBY_BUCKET = 'http://d6r77u77i8pq3.cloudfront.net'
25
25
  TRAVELING_RUBY_VERSION = '20150715-2.2.2'
26
26
  SNAPPY_VERSION = '0.0.11'
27
- EM_VERSION = '1.0.4'
27
+ EM_VERSION = '1.0.6'
28
28
 
29
29
  # Every project deserves its own ASCII art
30
30
  ART = <<-'EOART' % VERSION
@@ -28,13 +28,12 @@ module Franz
28
28
  @tail_events = opts[:tail_events] || []
29
29
 
30
30
  @read_limit = opts[:read_limit] || 16_384 # 16 KiB
31
- @line_limit = opts[:line_limit] || nil # no limit [KiB]
32
31
  @block_size = opts[:block_size] || 32_768 # 32 KiB
33
32
  @cursors = opts[:cursors] || Hash.new
34
33
  @logger = opts[:logger] || Logger.new(STDOUT)
35
34
 
36
35
  @nil_read = Hash.new { |h,k| h[k] = false }
37
- @buffer = Hash.new { |h, k| h[k] = BufferedTokenizer.new("\n", @line_limit) }
36
+ @buffer = Hash.new { |h, k| h[k] = BufferedTokenizer.new("\n") }
38
37
  @stop = false
39
38
 
40
39
  @statz = opts[:statz] || Franz::Stats.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-11 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slog
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.4
117
+ version: 1.0.6
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 1.0.4
124
+ version: 1.0.6
125
125
  description: Aggregate log file events and send them elsewhere.
126
126
  email: sclemmer@bluejeans.com
127
127
  executables: