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

Add proper error message when incorrect custom offset value is entered #1426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hemahg
Copy link
Contributor

@hemahg hemahg commented Jan 31, 2025

Add proper error message when incorrect custom offset value is entered

Screenshot 2025-01-31 at 5 05 35 PM

@@ -215,6 +212,18 @@ export function ResetOffset({
type="number"
min={0}
/>
{error && (
Copy link
Member

Choose a reason for hiding this comment

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

My only concern here is that error could be other things besides the custom offset being out of range. The other options are reporting an error from Kafka or that a requested partition is not valid for the topic. I think those other options are much less likely than an out-of-range error, but just to mention that we would be masking them as an out-of-range error.

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