lib/fluent/plugin/out_solr.rb in fluent-plugin-output-solr-1.0.4 vs lib/fluent/plugin/out_solr.rb in fluent-plugin-output-solr-1.0.5
- old
+ new
@@ -58,20 +58,20 @@
config_param :commit_with_flush, :bool, :default => DEFAULT_COMMIT_WITH_FLUSH,
:desc => 'Send commit command to Solr with flush (default true).'
config_section :buffer do
config_set_default :@type, DEFAULT_BUFFER_TYPE
- # config_set_default :chunk_keys, ['tag']
+ config_set_default :chunk_keys, ['tag']
end
def initialize
super
end
def configure(conf)
compat_parameters_convert(conf, :inject)
super
- # raise Fluent::ConfigError, "'tag' in chunk_keys is required." if not @chunk_key_tag
+ raise Fluent::ConfigError, "'tag' in chunk_keys is required." if not @chunk_key_tag
end
def start
super