elasticsearch-elixir
elasticsearch-elixir copied to clipboard
Support runtime configuration via {:system, _} tuple
Currently it is not obvious that one can override MyApp.Cluster.init/1
for runtime configuration unless you read the source code. So, I did 2 changes there:
- Added support for more idiomatic
{:system, _}
tuple - Added description of both configuration methods to readme
Added support for more idiomatic {:system, _} tuple System tuples are heavily frowned upon
I would prefer to just document that you can use MyApp.Cluster.init
for this, rather than support {:system, _}
tuples at this point.