Philippus / elastic4s

🔍 Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client
Apache License 2.0
1.64k stars 695 forks source link

Use http4s.Uri in Http4sClient #3215

Open lenguyenthanh opened 6 days ago

lenguyenthanh commented 6 days ago

This is to avoid conversion between ElasticNodeEndpoint to http4s.Uri for every request. Which'll save us some allocation, hence more performance. This also allows users to pass http4s.Uri directly to Http4sClient.

lenguyenthanh commented 6 days ago

cc @igor-vovk