Skip to content

Web console: Fix the supervisor offset reset dialog.#16298

Merged
vogievetsky merged 9 commits intoapache:masterfrom
vogievetsky:better_supervisor_reset
Apr 20, 2024
Merged

Web console: Fix the supervisor offset reset dialog.#16298
vogievetsky merged 9 commits intoapache:masterfrom
vogievetsky:better_supervisor_reset

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

fixes the dialog implemented here #14863

Basically the old dialog relied on latestOffsets to be set to work. This version does not. In addition it provides a fallback JSON view so it is easy to paste in the metadata.

image

Also allows starting a supervisor in a suspended state

Comment thread web-console/src/views/load-data-view/load-data-view.tsx Outdated
Comment thread web-console/src/views/load-data-view/load-data-view.tsx Outdated
Comment thread web-console/src/views/load-data-view/load-data-view.tsx Outdated
Copy link
Copy Markdown
Contributor

@ektravel ektravel left a comment

Choose a reason for hiding this comment

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

Left a few suggestions.

vogievetsky and others added 4 commits April 18, 2024 09:50
Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>
Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>
Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>
</p>
<p>
You can configure the exact offsets that the supervisor will read from using
the Actions menu on the Supervisors tab. the action menu on the Supervisor tab
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
the Actions menu on the Supervisors tab. the action menu on the Supervisor tab
the Actions menu on the Supervisors tab.

<p>
You can configure the exact offsets that the supervisor will read from using
the Actions menu on the Supervisors tab. the action menu on the Supervisor tab
after submitting a supervisor in a suspended state.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
after submitting a supervisor in a suspended state.

<p>
Creating a supervisor in a suspended state can be helpful if you are not yet
ready to begin ingesting data or if you prefer to configure the supervisor's
metadata before submitting it. inserting data yet or if you want to precisely
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
metadata before submitting it. inserting data yet or if you want to precisely
metadata before submitting it.

Creating a supervisor in a suspended state can be helpful if you are not yet
ready to begin ingesting data or if you prefer to configure the supervisor's
metadata before submitting it. inserting data yet or if you want to precisely
configure the metadata for the supervisor before starting it.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
configure the metadata for the supervisor before starting it.

Copy link
Copy Markdown
Contributor

@ektravel ektravel left a comment

Choose a reason for hiding this comment

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

@vogievetsky The original text didn't get removed after you committed my suggestions.

@vogievetsky
Copy link
Copy Markdown
Contributor Author

Ok got it!

@vogievetsky vogievetsky merged commit 3e42ebb into apache:master Apr 20, 2024
@vogievetsky vogievetsky deleted the better_supervisor_reset branch April 20, 2024 00:25
@adarshsanjeev adarshsanjeev added this to the 30.0.0 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants