Skip to content

bug: DynamoDB Streams are not working #6306

@anekar3416

Description

@anekar3416

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions