-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
bugThis issue is a bug.This issue is a bug.p3This is a minor priority issueThis is a minor priority issue
Description
Describe the bug
Netty threads are being blocked when calling InetAddress.getByName (https://docs.oracle.com/javase/6/docs/api/java/net/InetAddress.html#getByName(java.lang.String))
This impacts the scalability of the AWS java library.
Expected Behavior
Netty threads should not be blocked
Current Behavior
Netty threads are being blocked
Reproduction Steps
Using the NettyNioAsyncHttpClient
val builder = NettyNioAsyncHttpClient.builder()
val httpClient: SdkAsyncHttpClient = builder.build()
Possible Solution
A possible solution is to use netty-resolver-dns like in https://github.com/netty/netty/blob/4.1/example/src/main/java/io/netty/example/dns/tcp/TcpDnsClient.java
Additional Information/Context
No response
AWS Java SDK version used
2.18.35
JDK version used
17.0.5_8
Operating System and version
linux
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p3This is a minor priority issueThis is a minor priority issue