-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add json body check for sqs message #21727
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
@exekias I have a question about this: When json body check |
Sorry I miss this notification 🙏 , two things:
|
@exekias Thank you for the input!!
Good point, will remove the extra
Yeah there is no way to retrieve it later after removing. |
💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
What does this PR do?
I suspect sometimes AWS SQS message is not an invalid JSON format. This PR is to add check on it and improving error message for better debugging.
For example:
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues