Skip to content

Unable to work with Kinesis when behind proxy #685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mscharp opened this issue Sep 5, 2018 · 12 comments
Closed

Unable to work with Kinesis when behind proxy #685

mscharp opened this issue Sep 5, 2018 · 12 comments
Labels
feature-request A feature should be added or improved. guidance Question that needs advice or information. Netty NIO Client

Comments

@mscharp
Copy link
Contributor

mscharp commented Sep 5, 2018

I'm attempting to update my "stock-trader" sample application to use the new 2.0 sdk ( in prep for updating a real application ). The only Kinesis Client that I can create is the KinesisAsyncClient, which uses the Netty Http client. This is a problem because the AWS version of the netty-http-client doesn't support proxy configuration.

Will there be a KinesisSyncClient? When will it be available? If not, any reason?

Will proxy config support be added to the Netty Http Client?

I'm not opposed to submitting a PR for adding proxy config support to the netty http client if I can figure it out. Are there any particular reasons why it wasn't added in the first place of which I should be aware?

thanks!

@dagnir
Copy link
Contributor

dagnir commented Sep 6, 2018

Hi @mscharp, sounds like you're using versions 2.0.0/2.0.1 (non -preview). Answers below:

Will there be a KinesisSyncClient? When will it be available? If not, any reason?

Yes, they're currently only available in the preview releases. They were excluded from 2.0.0 since we're still finalizing the sync interfaces.

Will proxy config support be added to the Netty Http Client?

Yes, this is something that we want to support. If you're willing to put a PR together, we'll be happy to take a look 😄

@mscharp
Copy link
Contributor Author

mscharp commented Sep 6, 2018

Ok great. Thanks for the clarification on the 2.0.1 vs the preview sdks.

@rjinoy
Copy link

rjinoy commented Oct 26, 2018

I have the same question - how do i set proxy to KinesisAsyncClient, i am using 2.0.6.

@dagnir
Copy link
Contributor

dagnir commented Oct 26, 2018

@rjinoy We have yet to implement this for the Netty HTTP client (our default for all async clients). Feel free to thumbs up the original comment so we can help prioritize this against other pending feature requests 😃

@rjinoy
Copy link

rjinoy commented Oct 26, 2018

Is there a KinesisSyncClient ?

@dagnir
Copy link
Contributor

dagnir commented Oct 26, 2018

@rjinoy Yes there is, but at the moment, they're only in the preview versions, not in 2.0.6 (or any other non -preview version). If you want to try it (not recommended for production yet), you can try the latest preview version 2.0.0-preview-12.

@rjinoy
Copy link

rjinoy commented Oct 26, 2018

Is there a proxy support for KinesisSyncClient ?
Do you have an ETA when proxy support would be available for KinesisAsyncClient.

@dagnir
Copy link
Contributor

dagnir commented Oct 26, 2018

@rjinoy Unfortunately not. The latest updates in the master branch do support proxies for the sync clients (see #713) but this change has not yet been released as part of a preview release. Note, we'll be doing a preview release soon, but I don't have a concrete date for you.

We don't have an ETA for proxy support in Netty yet, but it's in our backlog. We're also more than happy to take a look at a PR if you'd like to tackle this 😄

@rjinoy
Copy link

rjinoy commented Oct 26, 2018

Sure, this is important for me, without the proxy support i cant use KCL.

@erfangc
Copy link

erfangc commented Feb 4, 2019

Many AWS customers work behind corporate proxies, so the entire library cannot be leveraged without it

@justnance justnance added feature-request A feature should be added or improved. guidance Question that needs advice or information. and removed Feature Request labels Apr 19, 2019
@ghost
Copy link

ghost commented Jun 25, 2019

Hi @dagnir
Is there a proxy support for KinesisSyncClient at current java sdk version?

@millems
Copy link
Contributor

millems commented Jul 8, 2019

Closing in favor of #858

@millems millems closed this as completed Jul 8, 2019
aws-sdk-java-automation added a commit that referenced this issue Dec 2, 2019
…95e06ce5

Pull request: release <- staging/4f667181-cddd-4f0a-b90e-8a1b95e06ce5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. guidance Question that needs advice or information. Netty NIO Client
Projects
None yet
Development

No branches or pull requests

6 participants