You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Apache HTTP implementation supports proxy configuration, but Netty does not. This feature should be added to Netty.
Reacted by Stephane Landelle, Greg Zapp, Henrik Larsson, dooreelko, Tyler Domitrovich, Vinay Reddy, prakash, Iain Walsh, alexmnyc, Krzysztof Czelusniak and 6 more
We want to use Spring Boot Webflux to build reactive services. Currently will have to wrap SDK calls in their own separate thread pools rather than just using Netty all the way through.
Spring Boot lets you inject a Reactor Netty HttpClient, but I assume you all are using Netty directly instead of Reactor Netty so that wouldn't be available.
Hi @BhargavChoksi, this feature was built into the Netty HTTP client instead of at the service clients level. To use the Netty client's proxying feature with the DynamoDB client, you will need to configure the Netty client directly on the client:
Thanks for implementing this, it's working well for me.
One note though, the example configuration here shows using the KinesisClientUtil.createKinesisAsyncClient method which will override setting httpClientBuilder on the KinesisAsyncClientBuilder. Using the KinesisAsyncClient.builder() directly solves this issue.
Activity
favetelinguis commentedon Jan 16, 2019
Any status updates on this?
vinayys commentedon Mar 4, 2019
@dagnir - any update on this?
dagnir commentedon Mar 4, 2019
Hi @favetelinguis @vinayys we still have this planned, but have not begun work on this yet.
alexmnyc commentedon Mar 7, 2019
this is very much needed for anyone working in enterprise,.,.,,,,
IDWalsh commentedon Mar 8, 2019
This is a major issue for us adopting it.
danieladams456 commentedon May 22, 2019
We want to use Spring Boot Webflux to build reactive services. Currently will have to wrap SDK calls in their own separate thread pools rather than just using Netty all the way through.
Spring Boot lets you inject a Reactor Netty HttpClient, but I assume you all are using Netty directly instead of Reactor Netty so that wouldn't be available.
[-]Support HTTP proxies with Netty[/-][+]Netty HTTP Proxy Support[/+]Krishnaghimire commentedon Aug 15, 2019
+1
Enable HTTP proxying for Netty client
Enable HTTP proxying for Netty client
BhargavChoksi commentedon Oct 14, 2019
Can we please add the proxy config support for DynamoDbAsyncClient ?????
I am in urgent need.
dagnir commentedon Oct 16, 2019
Hi @BhargavChoksi, this feature was built into the Netty HTTP client instead of at the service clients level. To use the Netty client's proxying feature with the DynamoDB client, you will need to configure the Netty client directly on the client:
BhargavChoksi commentedon Oct 16, 2019
Thanks a lot @dagnir, for your quick response. Here, I am able to set proxy-host and proxy-port.
How can I set proxy username and proxy-password?
It seems there is no way to set proxy-username ans proxy-password or I am horribly missing something?
final ProxyConfiguration proxyConfiguration =
ProxyConfiguration.builder().host("http-se.some.host.com").port(8080).build();
dagnir commentedon Oct 16, 2019
Hey @BhargavChoksi That is not currently supported at the moment. This is being tracked here: #1432
dagnir commentedon Oct 17, 2019
Marking this is done. Other proxy related features will be tracked separately (e.g. #1432)
LindaByrne commentedon Oct 18, 2019
Thanks for implementing this, it's working well for me.
One note though, the example configuration here shows using the
KinesisClientUtil.createKinesisAsyncClientmethod which will override settinghttpClientBuilderon theKinesisAsyncClientBuilder. Using the KinesisAsyncClient.builder() directly solves this issue.Merge pull request #858 from aws/staging/8f43e0d7-b401-409e-81ea-2188…