Skip to content

bug: Eventbus accepts detail longer than AWS supports #11622

@xocasdashdash

Description

@xocasdashdash

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When you publish an event to an event bus, you can send a "detail" field larger than the maximum currently allowed by AWS (256Kb, see here)

Expected Behavior

It should be rejected

How are you starting LocalStack?

Custom (please describe below)

Steps To Reproduce

I'm starting localstack using test containers with the following configuration:

"SERVICES":                 "sqs,events,
"PROVIDER_OVERRIDE_EVENTS": "v2",

Environment

- OS:
- LocalStack:
  LocalStack version:
  LocalStack Docker image sha:
  LocalStack build date:
  LocalStack build git hash:

Anything else?

I think i have a possible fix, but i'm not fully sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions