-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
aws:dynamodbstreamsAWS DynamoDB StreamsAWS DynamoDB Streamsstatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I am currently using localstack 0.14.2 to create a dynamodb table and enable dynamodb stream for the same to capture table changes.
Whenever I try to instantiate a KCL worker I am getting the following error:
localstack | 2022-06-21T04:19:32.648:ERROR:localstack.aws.protocol.serializer: Response object contains a member which is not specified: HashKeyRange
localstack | Traceback (most recent call last):
localstack | File "/opt/code/localstack/localstack/aws/protocol/serializer.py", line 1003, in _serialize_type_structure
localstack | member_shape = members[member_key]
localstack | KeyError: 'HashKeyRange'
When the errors appears the tables in dynamodb are getting deleted.
Earlier I was using the dynamodb local jar and it was working fine there.
Expected Behavior
The error should not appear and tables should be enabled with dynamodb streams.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
docker run localstack/localstack
Environment
- OS: Mac
- LocalStack: 0.14.2
Anything else?
No response
thetumper, dougludlow and CasaSky
Metadata
Metadata
Assignees
Labels
aws:dynamodbstreamsAWS DynamoDB StreamsAWS DynamoDB Streamsstatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report