Github user skidder commented on the issue:
https://github.com/apache/flink/pull/2227
Thanks for the comment, @tzulitai !
I have not had any problems with testing Flink against a local Kinesalite
instance where the Region (required by Flink) is set to `us-east-1` and the
endpoint is set to an address on localhost. The `setRegion` function on the AWS
Kinesis client calculates the endpoint URL from the region name and sets it on
the client. The `setEndpoint` function is meant to allow for testing against
non-AWS endpoints, or even new AWS endpoints in Regions unrecognized by an
older version of the library.
I think that requiring the AWS region, and optionally using the AWS
endpoint if provided, will work well; this is consistent with the AWS client's
own behavior.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---