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

support routing stale messages to lowpri topic #82322

Merged
merged 16 commits into from
Dec 20, 2024
Merged

Conversation

lynnagara
Copy link
Member

the sentry consumer configuration now supports an optional stale_topic. if passed, all invalid message rejected with reason "stale" get routed to the stale topic.

raising stale message exceptions is configured for the transactions consumer

the sentry consumer configuration now supports an optional `stale_topic`.
if passed, all invalid message rejected with reason "stale" get
routed to the stale topic.

raising stale message exceptions is configured for the transactions consumer
when the arg is passed
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
322 1 321 9
View the top 1 failed tests by shortest run time
::tests.sentry.ingest.ingest_consumer.test_dlq
Stack Traces | 0s run time
No failure message available

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@lynnagara lynnagara force-pushed the dlq-producer-2-topics branch from 13b57c4 to 4a2bb2d Compare December 18, 2024 21:23
@lynnagara lynnagara marked this pull request as ready for review December 19, 2024 00:16
@lynnagara lynnagara requested review from a team as code owners December 19, 2024 00:16
],
)
@django_db_all
def test_dlq_stale_messages(factories, topic_name) -> None:
Copy link
Member Author

Choose a reason for hiding this comment

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

this test doesn't belong here since this is the ingest consumer mode. We are testing a strategy that is agnostic of any specific consumer. test file structure matches the module being tested so it should be under consumers/test_dlq

@lynnagara lynnagara merged commit 87f51d3 into master Dec 20, 2024
49 checks passed
@lynnagara lynnagara deleted the dlq-producer-2-topics branch December 20, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants