Skip to content

Enhance SQS sink logging for better troubleshooting #6098

@Davidding4718

Description

@Davidding4718

Is your feature request related to a problem? Please describe.
When debugging SQS sink issues, there is insufficient logging to understand why messages are being dropped, sent to DLQ, or rejected.

Describe the solution you'd like
Add comprehensive debug and info level logging to the SQS sink, specifically in SqsSinkBatch.java and related classes:

  1. Size limit violations : Log when messages are rejected due to exceeding configured size limits

  2. DLQ routing : Log the specific reason why messages are sent to DLQ with error details

  3. SQS API errors : Log detailed error information for failed SQS requests

Describe alternatives you've considered (Optional)

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Unplanned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions