Skip to content

Commit 3289962

Browse files
committed
Override default reload_connections to false
AWS Elasticsearch Service doesn't return addresses of nodes and Elasticsearch client (elasticsearch-ruby) fails to reload connections properly. This ends up "temporarily ed to flush the buffer" error repating forever. See this discussion for details: https://discuss.elastic.co/t/elasitcsearch-ruby-raises-cannot-get-new-connection-from-pool-error/36252
1 parent 3291513 commit 3289962

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/fluent/plugin/out_aws-elasticsearch-service.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ class AwsElasticsearchServiceOutput < ElasticsearchOutput
2020
config_param :assume_role_session_name, :string, :default => "fluentd"
2121
end
2222

23+
# here overrides default value of reload_connections to false because
24+
# AWS Elasticsearch Service doesn't return addresses of nodes and Elasticsearch client
25+
# fails to reload connections properly. This ends up "temporarily failed to flush the buffer"
26+
# error repeating forever. See this discussion for details:
27+
# https://discuss.elastic.co/t/elasitcsearch-ruby-raises-cannot-get-new-connection-from-pool-error/36252
28+
config_set_default :reload_connections, false
2329

2430
#
2531
# @override

0 commit comments

Comments
 (0)