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

Setting AWS endpoints for Kinesis consumer #21

Open
louiscb opened this issue Feb 21, 2024 · 0 comments
Open

Setting AWS endpoints for Kinesis consumer #21

louiscb opened this issue Feb 21, 2024 · 0 comments

Comments

@louiscb
Copy link

louiscb commented Feb 21, 2024

It doesn't appear to be possible to set the endpoint the library points to for the aws services such as Kinesis and DynamoDb. Instead it appears that we are hard coded to point at the real aws service endpoint. It would be useful for local development to be able to set the endpoint ourselves. This way we aren't creating resources in our production aws cloud environment when running the example. We could supply the endpoint into the producer configuration map e.g:

    # a kinesis stream processor:
    kinesis_producer = %{
      kinesis_endpoint: "http://localhost:4567",
      dynamodb_endpoint: "http://localhost:8000",
      app_suffix: :k,
      kcl_appname: "erlang-processor-kinesis-test",
      stream_name: stream_name,
      stream_region: stream_region,
      stream_type: :kinesis,
    }
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