-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Conversation
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
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
13b57c4
to
4a2bb2d
Compare
], | ||
) | ||
@django_db_all | ||
def test_dlq_stale_messages(factories, topic_name) -> None: |
There was a problem hiding this comment.
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
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