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

ref: Move more code to the new way of defining kafka topics and overrides #66283

Merged
merged 5 commits into from Mar 5, 2024

Conversation

lynnagara
Copy link
Member

This moves the dlq_topic consumer definitions and anything that uses the get_topic_definition helper function over to the new style kafka topic config.

…ides

This moves the `dlq_topic` consumer definitions and anything that uses
the `get_topic_definition` helper function over to the new style kafka
topic config.
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 76.08696% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 84.29%. Comparing base (508a769) to head (c9d7b05).
Report is 31 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #66283   +/-   ##
=======================================
  Coverage   84.29%   84.29%           
=======================================
  Files        5304     5304           
  Lines      237070   237080   +10     
  Branches    41030    41029    -1     
=======================================
+ Hits       199831   199843   +12     
+ Misses      37020    37018    -2     
  Partials      219      219           
Files Coverage Δ
src/sentry/conf/server.py 90.09% <100.00%> (+0.03%) ⬆️
src/sentry/conf/types/kafka_definition.py 100.00% <100.00%> (ø)
src/sentry/conf/types/topic_definition.py 100.00% <100.00%> (ø)
src/sentry/eventstream/kafka/backend.py 77.50% <100.00%> (+0.28%) ⬆️
src/sentry/replays/lib/kafka.py 100.00% <100.00%> (ø)
src/sentry/sentry_metrics/configuration.py 100.00% <100.00%> (ø)
...y/sentry_metrics/consumers/indexer/multiprocess.py 84.61% <100.00%> (+0.24%) ⬆️
src/sentry/usage_accountant/accountant.py 100.00% <100.00%> (ø)
src/sentry/utils/kafka_config.py 100.00% <100.00%> (+2.08%) ⬆️
src/sentry/utils/outcomes.py 92.30% <100.00%> (-7.70%) ⬇️
... and 5 more

... and 7 files with indirect coverage changes

@anonrig anonrig requested a review from a team March 5, 2024 12:30
Copy link
Member

@cmanallen cmanallen left a comment

Choose a reason for hiding this comment

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

Approving replays changes.

@lynnagara lynnagara merged commit f7ffe5a into master Mar 5, 2024
50 of 51 checks passed
@lynnagara lynnagara deleted the new-style-kafka-defn branch March 5, 2024 18:21
@ayirr7 ayirr7 added the Trigger: Revert add to a merged PR to revert it (skips CI) label Mar 5, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: 622827e

getsentry-bot added a commit that referenced this pull request Mar 5, 2024
…nd overrides (#66283)"

This reverts commit f7ffe5a.

Co-authored-by: ayirr7 <47572810+ayirr7@users.noreply.github.com>
lynnagara added a commit that referenced this pull request Mar 5, 2024
lynnagara added a commit that referenced this pull request Mar 6, 2024
Brings back #66283 with fixes to
the indexer strategy. It crashed on the prior deploy as we were not
producing to the correctly resolved topic.
aliu3ntry pushed a commit that referenced this pull request Mar 6, 2024
…ides (#66283)

This moves the `dlq_topic` consumer definitions and anything that uses
the `get_topic_definition` helper function over to the new style kafka
topic config.
aliu3ntry pushed a commit that referenced this pull request Mar 6, 2024
…nd overrides (#66283)"

This reverts commit f7ffe5a.

Co-authored-by: ayirr7 <47572810+ayirr7@users.noreply.github.com>
aliu3ntry pushed a commit that referenced this pull request Mar 6, 2024
Brings back #66283 with fixes to
the indexer strategy. It crashed on the prior deploy as we were not
producing to the correctly resolved topic.
lynnagara added a commit that referenced this pull request Mar 6, 2024
…ved (#66288)

Depends on #66283 and
#66343

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components Trigger: Revert add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants