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

Localstack support for AWS SQS pubsub #22

Open
zcapper opened this issue Aug 21, 2023 · 0 comments
Open

Localstack support for AWS SQS pubsub #22

zcapper opened this issue Aug 21, 2023 · 0 comments

Comments

@zcapper
Copy link

zcapper commented Aug 21, 2023

Hi,

I'd like to run and test my Krakend configuration locally, and as part of that use pubsub against a local SQS endpoint.

Currently, if I try to use a queue URL corresponding to a localstack instance on localstack:4566, it will still try to connect to an AWS endpoint (and log an InvalidClientTokenId error as a result).

"host": [
  "awssqs://localstack:4566/000000000000"
],
"extra_config": {
  "backend/pubsub/publisher": {
    "topic_url": "/SAMPLE-TASK?region=us-east-1"
  },

Ideally, KrakenD would either infer the AWS endpoint URL from the topic URL, or expose an AWS_ENDPOINT_URL environment variable so it can be manually overridden in local environments.

@zcapper zcapper changed the title Localstack support for AWS SQS queues Localstack support for AWS SQS pubsub Aug 21, 2023
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

1 participant