franz 1.6.7 → 1.6.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +25 -2
  3. data/VERSION +1 -1
  4. data/franz.gemspec +1 -1
  5. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 723f2235801ee3e0876e787ff30cf219edafb619
4
- data.tar.gz: d1a36d2a52885b51becc1bc718d799570f8810ce
3
+ metadata.gz: 534266b50947164948680fd3bb213ea0fb5087b8
4
+ data.tar.gz: 4a71b6fe4c42585a61f2389e22e672b77d9e45c9
5
5
  SHA512:
6
- metadata.gz: 2b775e7851e7293face4733546912cc85a0a6268ac301e30dddb3066f2be10857c541b80492f752e764b598e5d655c72485039b3b931f577015613a9b277afbd
7
- data.tar.gz: cec5c99a08233bb1999bd0a4aa6a6925f8eaddd14bd01f290aef003ad639845c124ef52005c879f77dbc2785cade5d772763a8aaf1ff5cb046517d972b850292
6
+ metadata.gz: 50946774f5019acea486d535ba6eac54c32aad3dcfd0ce19d5d2db53e637f2744388b586a32ebf02eb077e6163e93962b977f4b9014074747e9d4cc5ecad6064
7
+ data.tar.gz: e9cc52de649586b6574e0c23dba483b1c9aed040babf2ab4391338b92a85dbfac59372f9f537d657e9008afcec10dcebb2327d3dd0a917f156d757f6e33b36d9
data/Readme.md CHANGED
@@ -97,6 +97,11 @@ It's kinda like a JSON version of the Logstash config language:
97
97
  {
98
98
  // The asterisk will be replaced with a Unix timestamp
99
99
  "checkpoint": "/etc/franz/franz.*.db",
100
+ "checkpoint_interval": 30, // Seconds
101
+
102
+ // Kill Franz for consuming too much memory
103
+ "memory_limit": 2000000, // Bytes
104
+ "memory_limit_interval": 5, // Seconds
100
105
 
101
106
  // All input configs are files by convention
102
107
  "input": {
@@ -111,7 +116,20 @@ It's kinda like a JSON version of the Logstash config language:
111
116
  "drop": "(?i-mx:^\\d)", // Same story.
112
117
  "json?": false // JSON-formatted?
113
118
  }
114
- ]
119
+ ],
120
+
121
+ // Advanced configuration (optional)
122
+ "discover_interval": 60, // Period to check for new files
123
+ "discover_bound": 25000, // Limit discovery queue size
124
+ "watch_interval": 2, // Period to watch for file changes
125
+ "watch_bound": 15000, // Limit watch queue size
126
+ "flush_interval": 45, // Period to flush multiline events
127
+ "block_size": 102400, // Block size for tail reads
128
+ "read_limit": 512000, // Maximum size for a read
129
+ "line_limit": 512000, // Maximum size for a line
130
+ "buffer_limit": 300, // Maximum lines for multiline
131
+ "tail_bound": 15000, // Limit tail queue size
132
+ "play_catchup?": true // Pick up where we left off
115
133
  },
116
134
 
117
135
  // Only RabbitMQ is supported at the moment
@@ -141,7 +159,12 @@ It's kinda like a JSON version of the Logstash config language:
141
159
  // "tls_ca_certificates": [ "/path/to/cacert.pem" ],
142
160
  // "verify_peer": true
143
161
  }
144
- }
162
+ },
163
+
164
+ // Advanced configuration (optional)
165
+ "stats_interval": 60, // Emit statistics periodically
166
+ "bound": 25000, // Limit output queue size
167
+ "tags": [ "franz" ] // Add a tag field to events
145
168
  }
146
169
  }
147
170
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.7
1
+ 1.6.8
data/franz.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_runtime_dependency 'trollop', '~> 2.1.0'
19
19
  s.add_runtime_dependency 'colorize', '~> 0.7.0'
20
20
  s.add_runtime_dependency 'deep_merge', '~> 1.0.0'
21
- s.add_runtime_dependency 'eventmachine', '~> 1.0.0'
21
+ s.add_runtime_dependency 'eventmachine', '= 1.0.5'
22
22
 
23
23
  s.files = `git ls-files`.split("\n")
24
24
  s.test_files = `git ls-files -- test/*`.split("\n")
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: 1.6.7
4
+ version: 1.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slog
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: eventmachine
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 1.0.0
89
+ version: 1.0.5
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 1.0.0
96
+ version: 1.0.5
97
97
  description: Aggregate log file events and send them elsewhere.
98
98
  email: sclemmer@bluejeans.com
99
99
  executables: