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

Replace get_event_label with get_event_id (GSI-1176) #151

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

TheByronHimes
Copy link
Member

We've chosen to use the combined topic, partition, and offset of events as a way to identify them. The old function, get_event_label contained the key, too, but the aforementioned data already identifies an event. Therefore, the key was removed.
When an event fails and is sent to the DLQ, the event ID is included as a header so developers can reference it to ensure they are dealing with the right event. The previous "event label" was included in a few miscellaneous logs, which will now use the event ID.

@TheByronHimes TheByronHimes marked this pull request as ready for review January 22, 2025 14:38
@TheByronHimes TheByronHimes merged commit 9d735f7 into main Jan 22, 2025
8 checks passed
@TheByronHimes TheByronHimes deleted the feature/event_id_GSI-1176 branch January 22, 2025 16:15
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.

2 participants