Skip to content

Commit

Permalink
Add compress config_params to buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
ganmacs committed Aug 19, 2016
1 parent 7194cb9 commit af20e5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/fluent/plugin/buffer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class BufferChunkOverflowError < BufferError; end # A record size is larger than
# if chunk size (or records) is 95% or more after #write, then that chunk will be enqueued
config_param :chunk_full_threshold, :float, default: DEFAULT_CHUNK_FULL_THRESHOLD

desc 'Compress buffered data.'
config_param :compress, :bool, default: false

Metadata = Struct.new(:timekey, :tag, :variables)

# for tests
Expand Down

0 comments on commit af20e5f

Please sign in to comment.