Skip to content

Commit eecac85

Browse files
authored
Bug fixes in consumer group reset offset (#1340)
Signed-off-by: hemahg <[email protected]>
1 parent e3a820a commit eecac85

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

ui/app/[locale]/(authorized)/kafka/[kafkaId]/consumer-groups/[groupId]/reset-offset/DryrunSelect.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export function DryrunSelect({
5555
}}
5656
aria-label="dryrun toggle button"
5757
onClick={onToggleClick}
58+
isDisabled={isDisabled}
5859
/>
5960
)}
6061
>

ui/app/[locale]/(authorized)/kafka/[kafkaId]/consumer-groups/[groupId]/reset-offset/ResetOffset.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export function ResetOffset({
240240
onClick={handleSave}
241241
isDisabled={isLoading || !isEnabled}
242242
>
243-
{t("save")}
243+
{t("reset")}
244244
</Button>
245245
<DryrunSelect
246246
openDryrun={openDryrun}

ui/messages/en.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -402,12 +402,12 @@
402402
"close": "Close",
403403
"refresh": "Refresh and retry",
404404
"cancel": "Cancel",
405-
"reset_offset": "Reset consumer offset",
405+
"reset_offset": "Reset consumer offsets",
406406
"reset_offset_description": "Consumer group must be empty to reset offsets.",
407407
"member_shutdown_helper_text": "To reset the consumer group offsets, all the active members must be shut down.",
408408
"shutdown_active_members": "Shut down active members before proceeding",
409409
"learn_to_shutdown_members": "Learn how to shut down members",
410-
"reset_consumer_offset": "Reset consumer offset",
410+
"reset_consumer_offset": "Reset consumer offsets",
411411
"consumer_name": "Consumer group: <b>{consumerGroupName}</b>",
412412
"target": "Target",
413413
"apply_action_on": "Apply action on",
@@ -422,7 +422,7 @@
422422
"specific_date_time": "Specific Date time"
423423
},
424424
"custom_offset": "Custom offset",
425-
"save": "Save",
425+
"reset": "Reset",
426426
"dry_run": "Dry run",
427427
"partitions": "Partitions",
428428
"all_partitions": "All partitions",

0 commit comments

Comments
 (0)