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

how to set endpoint with multilang client v2 using .net and localstack #1091

Open
m-s-work opened this issue Apr 11, 2023 · 1 comment
Open

Comments

@m-s-work
Copy link

Similar to #652 I want to use the multilang client v2 with local stack. However I cannot use the API call mentioned there since it is not exposed via kcl.properties therefore I cannot set them via .net

With version 2 the client configs seem to have been removed: https://docs.aws.amazon.com/streams/latest/dev/kcl-migration.html#client-configuration-removals

I'm looking to call via config:
endpointOverride ->

private void setEndpointForClient(String name, BuilderDynaBean client, String endpoint) {

Did I miss something? How to set endpointOverride from .net?

@m-s-work m-s-work changed the title Multilang client v2 with .net and localstack how to set endpoint with multilang client v2 using .net and localstack Apr 11, 2023
@JaimeHolland
Copy link

I have a similar problem. I'm justing multlang v2, although with python.

I've added this in my properties file:

kinesisEndpoint =  http://localstack:4566
dynamoDBEndpoint =  http://localstack:4566

And now kinesis and dynamodb are working. However, there does not appear to be an option exposed in the properties file to set an endpoint for Cloudwatch. Therefore, I get these errors when the mutilang daemon tries to publish to Cloudwatch:

s.a.k.m.CloudWatchMetricsPublisher - Could not publish 15 datums to CloudWatch
software.amazon.awssdk.services.cloudwatch.model.CloudWatchException: The security token included in the request is invalid

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

No branches or pull requests

3 participants