Repository navigation
Commit 4190cd2
feat(eap-items): Point eap_items_dlq_replay at eap_items_2 tables (#8575)
Repoints the existing `eap_items_dlq_replay` storage from
`eap_items_1_local` / `eap_items_1_dist` to `eap_items_2_local` /
`eap_items_2_dist`. The main `eap-items-consumer` in us, de and s4s2 now
writes `eap_items_2`, so DLQ replays should land there too.
The schema and `UUIDColumnProcessor` columns are synced with
`eap_items_2`, which adds `conversation_id`, `session_id` and
`ai_conversation_id`. They had drifted from the primary storage. The
storage name, the input topic (`snuba-dead-letter-items`) and the lack
of a `dlq_topic` don't change. Because the name doesn't change,
`eap_items_dlq_grace_period_min` still has no entry for it, so replayed
rows aren't DLQ'd again.
This applies everywhere the replay consumer runs with the default
storage. Any replay consumer that's running when this deploys starts
writing `eap_items_2` on its next restart. No ops change is needed for
regions that use the default storage. This replaces #8570, which added a
separate `eap_items_2_dlq_replay` storage instead.
<!-- junior-request-attribution:start -->
via **Ryan Broughan**.
<!-- junior-request-attribution:end -->
<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0CAC22GMKM%3A1792468188.049119 -->
--
[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CAC22GMKM%3A1792468188.049119)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CAC22GMKM%3A1792468188.049119/?project=4510944073809921)
<!-- junior-session-footer:end -->
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Ryan Broughan <ryan.broughan@sentry.io>1 parent d76765c commit 4190cd2
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | | - | |
116 | | - | |
| 118 | + | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
147 | | - | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
0 commit comments