Skip to content
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

fix(sqs): log itn event messageid correctly #684

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

acobaugh
Copy link
Contributor

@acobaugh acobaugh commented Sep 6, 2022

Description of changes:

This fixes the logging so we log the MessageId, not a binary representation of the pointer. Otherwise we get messages like:

2022/09/06 19:22:45 ERR error processing interruption events error="some interruption events for message Id 1100000000000000001111000101100011101000 could not be processed"

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@acobaugh acobaugh requested a review from a team as a code owner September 6, 2022 20:18
Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the unit tests is failing with this change

pkg/monitor/sqsevent/sqs-monitor.go Show resolved Hide resolved
@acobaugh
Copy link
Contributor Author

acobaugh commented Sep 6, 2022

Fixed.

Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@snay2 snay2 merged commit f85efe1 into aws:main Sep 6, 2022
@snay2 snay2 added the Pending-Release Pending an NTH or eks-charts release label Sep 6, 2022
@snay2 snay2 removed the Pending-Release Pending an NTH or eks-charts release label Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants