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

fix: Fix default auto-offset-reset value #5753

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

lynnagara
Copy link
Member

"error" is a dangerous value as it causes consumer to crash if partitions are scaled. This happened in INC-702. Let's always use "earliest" as the default.

"error" is a dangerous value as it causes consumer to crash if partitions
are scaled. This happened in INC-702. Let's always use "earliest" as the default.
@lynnagara lynnagara requested a review from a team as a code owner April 10, 2024 20:26
@lynnagara lynnagara merged commit fb668da into master Apr 10, 2024
30 checks passed
@lynnagara lynnagara deleted the auto-offset-reset-earliest branch April 10, 2024 22:23
lynnagara added a commit to getsentry/sentry that referenced this pull request Apr 11, 2024
Earliest is a safer default than latest. For example if we increase
partition count in production, we need to start new partitions from the
earliest point otherwise we run the risk of skipping messages.

We will apply this default for all sentry consumers including the snuba
ones: getsentry/snuba#5753

After this is merged, we can remove all the manually passed values in
ops and use this default
lynnagara added a commit that referenced this pull request Apr 11, 2024
same idea as #5753 on the
subscriptions consumers as well
c298lee pushed a commit to getsentry/sentry that referenced this pull request Apr 12, 2024
Earliest is a safer default than latest. For example if we increase
partition count in production, we need to start new partitions from the
earliest point otherwise we run the risk of skipping messages.

We will apply this default for all sentry consumers including the snuba
ones: getsentry/snuba#5753

After this is merged, we can remove all the manually passed values in
ops and use this default
lynnagara added a commit that referenced this pull request Apr 12, 2024
same idea as #5753 on the
subscriptions consumers as well
lynnagara added a commit that referenced this pull request Apr 12, 2024
lynnagara added a commit that referenced this pull request Apr 17, 2024
lynnagara added a commit that referenced this pull request May 10, 2024
same as #5753 and #5772
and every other consumer at sentry now
lynnagara added a commit that referenced this pull request May 13, 2024
same as #5753 and #5772
and every other consumer at sentry now
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