Sha256: ea2baf40e8f1a7f46ccecd03a693c7cb15c9f58b41d9a6bce2428fbbc2428f01

Contents?: true

Size: 251 Bytes

Versions: 25

Compression:

Stored size: 251 Bytes

Contents

require 'elasticsearch/transport/transport/connections/selector'

class Fluent::Plugin::ElasticseatchFallbackSelector
  include Elasticsearch::Transport::Transport::Connections::Selector::Base

  def select(options={})
    connections.first
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
fluent-plugin-elasticsearch-4.1.4 lib/fluent/plugin/elasticsearch_fallback_selector.rb
fluent-plugin-elasticsearch-4.1.3 lib/fluent/plugin/elasticsearch_fallback_selector.rb
fluent-plugin-elasticsearch-4.1.2 lib/fluent/plugin/elasticsearch_fallback_selector.rb
fluent-plugin-elasticsearch-4.1.1 lib/fluent/plugin/elasticsearch_fallback_selector.rb
fluent-plugin-elasticsearch-4.1.0 lib/fluent/plugin/elasticsearch_fallback_selector.rb