Skip to content
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

AWS region parameter #19

Closed
silazare opened this issue Apr 13, 2022 · 2 comments
Closed

AWS region parameter #19

silazare opened this issue Apr 13, 2022 · 2 comments

Comments

@silazare
Copy link

Hello!
I'm trying to create the connector with AWS Managed Kafka Service (MSK) and facing the issue with region not defined:

[Worker-096e720ff778a1351] com.amazonaws.SdkClientException: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.

As far as I understood Region could be passed via Environment only and not via Parameters, as per docker-compose example.

private final String AWS_REGION = "AWS_REGION";

https://github.com/Nordstrom/kafka-connect-sqs/blob/master/src/main/java/com/nordstrom/kafka/connect/sqs/SqsConnectorConfigKeys.java#L31

Please suggest if any chance to pass AWS_REGION via parameter, because AWS MSK seems doesn't support env variables ?

@peterehik-px
Copy link
Contributor

I created another issue for this with a PR: #22. Not sure if I needed to create another issue, can delete it if y'all want me to.

@dylanmei
Copy link
Contributor

PR #22 merged and released with v1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants