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

Feature: Support setting connector state #851

Open
lovromazgon opened this issue Feb 1, 2023 · 3 comments
Open

Feature: Support setting connector state #851

lovromazgon opened this issue Feb 1, 2023 · 3 comments
Labels
feature New feature or request
Milestone

Comments

@lovromazgon
Copy link
Member

Feature description

Currently the connector state can be retrieved through the API but it can't be updated. Adding an endpoint to explicitly set the state to some specific value would allow users to change the position before starting the pipeline, giving them the power to control the starting position. This mean that an operator could externalise the storage of connector state if they want or copy over state from one Conduit instance to another.

@lovromazgon lovromazgon added feature New feature or request triage Needs to be triaged labels Feb 1, 2023
@hariso hariso added tmp-triage triage Needs to be triaged and removed triage Needs to be triaged tmp-triage labels Feb 27, 2023
@uchennakevinm1 uchennakevinm1 removed the triage Needs to be triaged label Feb 27, 2023
@uchennakevinm1 uchennakevinm1 added this to the Future milestone Feb 27, 2023
@uchennakevinm1 uchennakevinm1 removed the status in Conduit Main Feb 27, 2023
@hariso hariso modified the milestones: Future, Next Dec 4, 2024
@lyuboxa
Copy link
Contributor

lyuboxa commented Dec 4, 2024

YES PLEASE

@nickchomey
Copy link

I could also see this being useful if, for whatever reason, the source db was restored to a backup. Conduit would think the position is in "the future".

With this feature, you could roll back conduit as well.

Or am I missing how conduit's position works?

@lyuboxa
Copy link
Contributor

lyuboxa commented Dec 4, 2024

Or am I missing how conduit's position works?

The connector positional data is the state of the connector, last known point from which to continue to stream.
If this state is lost, the connector will restart from the beginning. This will allow anyone who is operating conduit to
restart a connector on a different instance with a state from another instance, similarly to migrating or rolling back configuration.

In the case of a source database being rolled back, this will require the state of the connector at the time of the rollback. Almost as both the source and conduit will need to be backed up in lockstep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Status: No status
Development

No branches or pull requests

5 participants