Introducing the new Apache5 HTTP client in Developer Preview #6267
Pinned
debora-ito
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We're excited to announce the Developer Preview of Apache 5 HTTP Client for the AWS SDK for Java 2.x.
For more information, check our AWS Developer Tools Blog Post.
Supporting the Apache 5 HTTP client brings key improvements like compatibility with virtual threads in Java 21 and logging flexibility through SLF4J. Similar to our current Apache4-based client, this new client supports only synchronous operations.
Getting Started
To get started, first add the new
apache5-client
dependency to your project:Since it's a Developer Preview release, the version must have the
-PREVIEW
suffix.Then, configure any AWS service client to use the new AWS SDK Apache 5 HTTP client:
If you wish to customize the settings, you can use the Apache5HttpClient.builder:
Developer Preview
As a reminder, the Apache5 HTTP client is being released as a Developer Preview, so the goal is to gather feedback from early adopters and it can lead to redesigns and breaking changes, meaning it's not suitable for production environments.
Test it out today and let us know how the new client works for you, we'd love to hear your feedback. If you have questions, find a bug or have a feature request for the client to better suit your needs, please reach out to us by creating a GitHub issue or replying in this Github Discussion thread.
Beta Was this translation helpful? Give feedback.
All reactions