scrive/log

Drop bloodhound dependency, use http-client directly

Closed this issue · 1 comments

log-elasticsearch depends on bloodhound which is a non-trivial library, effectively unmaintained as it doesn't support new ES version nor GHC versions (the latter will most likely change now that there is additional maintainer, the former most likely won't).

Considering that we use only a few ES commands in the logger, I suggest:

  1. Dropping the bloodhound dependency and using http-client directly.
  2. Dropping V1 and V5 distinction (ES version can be checked at runtime and appropriate commands adjusted accordingly).

That'll give us ease of upgrade/adjustment for new ES and GHC versions.