zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
https://zio.dev/zio-http
Apache License 2.0
787 stars 396 forks source link

Extract Client to a dedicated artifact #1928

Open gaeljw opened 1 year ago

gaeljw commented 1 year ago

What is not easy to do right now? Some apps (typically a background Daemon processing Kafka events let's say) are not HTTP apps and don't need the whole HTTP stack for exposing endpoints.

But still these apps use Client to call some webservices for instance.

Having to pull the whole zio-http dependency when you only need the client feels like it's too much.

Describe the solution you'd like Having a dedicated artifact (JAR / Maven dependency) with only the code needed for the Client.

jdegoes commented 1 year ago

Think about for 2.0.