Drop bloodhound dependency, use http-client directly
Closed this issue · 1 comments
arybczak commented
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:
- Dropping the
bloodhound
dependency and usinghttp-client
directly. - 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.