I Can not set up my local environment through java-aws-sdk, localstack and java-aws-kcl. After creating the consumer and trying to run it on my local environment I am getting an error that my credentials are incorrect. So Kinesis consumer always go to the real Amazon DynamoDB, and I can not point it to my localstack dynamodb. The question is: how can I point it to my local dynamodb?
Any suggestions?
You will have to connect your Kinesis and DynamoDB client to localstak. For this you will need the edgePort of localStack , Host Name . and form a Local Stack edge port URL . Here how it should be
now you need to get the host name and create URL something like this .
and then create clients as follows