Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Add command to start-relay and stop-relay for all sources #2205

@GMHDBJD

Description

@GMHDBJD

Is your feature request related to a problem? Please describe

If we want to stop-relay or start-relay for all sources when meet problems or other reason, we need to operate-source show to see all bound relations and than start/stop it one by one.

Describe the feature you'd like

Add a command like

# no need to specify worker, DM auto choose the correct worker
stop-relay -s source1,source2
start-relay -s source1,source2
# stop/start for all sources
stop-relay -a
start-relay -a

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions