Why can't i set both region and endpointConfiguration? #2818
Replies: 3 comments 2 replies
-
Hello @AlinS , Thank you very much for your message.
Best, |
Beta Was this translation helpful? Give feedback.
-
Hello @yasminetalby, Thank you so much for the reply. Yes, I am using so when I do something like
all this means, that I will endpoint into a situation where I set the endpoint for the worker (thru i hope this makes sense |
Beta Was this translation helpful? Give feedback.
-
btw, in the newer versions of aws SDK
how do I set signing region in this case? |
Beta Was this translation helpful? Give feedback.
-
The code that enforces this is in
AwsClientBuilder.setRegion
. I don't understand this limitation, why can't i set both endpoint configuration and region?This question comes as a result of a weird situation when i use localstack
When i set the endpoint to point to localstack (which runs kinesis) AND the client region is set to
us-west-2
, the client shows this errorwhile
localstack
complains thatWhich means the client is looking for a stream where the ARN has
us-west-2
but what is asking for is a stream where the ARN hasus-east-1
. i debugged the java code and is tracking.this is really puzzling. again, why can't i set both region and endpoint? or there's a way to do this ? maybe without using the builder
Beta Was this translation helpful? Give feedback.
All reactions