amazon-archives / kinesis-storm-spout

Kinesis spout for Storm
Other
106 stars 64 forks source link

kinesis-storm-spout for Ireland region #2

Open Sunoyon opened 10 years ago

Sunoyon commented 10 years ago

Hi

The current kinesis-storm-spout is available N. Virginia by default. However I want to use it for Ireland region because Kinesis service is available for Ireland region from July 01.

Could you please help me out how the project can be workable for Ireland region also?

Sunoyon commented 10 years ago

I can now work with Kinesis stream of Ireland region also. I made the following change: In KinesisHelper.java, I've set the endpoint of AmazonKinesisClient. Here is the list of endpoint of different region for Kinesis: http://docs.aws.amazon.com/general/latest/gr/rande.html#ak_region

private AmazonKinesisClient makeNewKinesisClient() { final AmazonKinesisClient client = new AmazonKinesisClient(getKinesisCredsProvider(), getClientConfiguration()); client.setEndpoint("kinesis.eu-west-1.amazonaws.com"); return client; }