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

Incorrect AWS SNS Publisher/Subscriber Documentation #908

Open
kamakshilahoti opened this issue Jul 18, 2024 · 0 comments
Open

Incorrect AWS SNS Publisher/Subscriber Documentation #908

kamakshilahoti opened this issue Jul 18, 2024 · 0 comments

Comments

@kamakshilahoti
Copy link

kamakshilahoti commented Jul 18, 2024

Environment info:

  • KrakenD version: Run krakend help | grep Version and copy the output here
  • System info: Run uname -srm or write docker when using containers
  • Hardware specs: Number of CPUs, RAM, etc
  • Backend technology: Node, PHP, Java, Go, etc.
  • Additional environment information:

Describe the bug
The KrakenD documentation for AWS SNS incorrectly identifies the service as a subscriber instead of a publisher.

Your configuration file:

{
"$schema": "https://www.krakend.io/schema/krakend.json",
"version": 3,
"name": "KrakenD - API Gateway",
"timeout": "3000ms",
"cache_ttl": "300s",
"endpoints": [
{
"endpoint": "/v1/event",
"method": "POST",
"output_encoding": "json",
"backend": [
{
"host": [
"awssns:///arn:aws:sns:us-east-2:123456789012:mytopic"
],
"disable_host_sanitize": true,
"url_pattern": "/",
"extra_config": {
"backend/pubsub/susbcriber": {
"subscription_url": "?region=us-east-2"
}
}
}
]
}
]
}

Commands used
How did you start the software?

#Example:
docker run --rm -it -v $PWD:/etc/krakend \
        -e FC_ENABLE=1 \
        -e FC_SETTINGS="/etc/krakend/config/settings" \
        -e FC_PARTIALS="/etc/krakend/config/partials" \
        -e FC_OUT=out.json \
        devopsfaith/krakend \
        run -c /etc/krakend/config/krakend.json -d

Expected behavior
The documentation should correctly reflect that AWS SNS is being used as a publisher when sending information.

Logs
If applicable, any logs you saw in the console and debugging information

Additional context
Add any other context about the problem here.

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