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

feat(kafka-connect): set connector initial state #616

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

disrupted
Copy link
Member

close #463

@disrupted disrupted added type/enhancement New feature or request component/handlers Related to component handlers component/pipeline-components Related to pipeline components labels Mar 6, 2025
@disrupted disrupted self-assigned this Mar 6, 2025
@disrupted disrupted marked this pull request as ready for review March 6, 2025 19:06
@@ -115,6 +117,10 @@ class KafkaConnector(PipelineComponent, ABC):
config: KafkaConnectorConfig = Field(
description=describe_attr("config", __doc__),
)
initial_state: InitialState = Field(
default=InitialState.RUNNING,
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should rather leave it empty?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I think it is better to have it as None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/handlers Related to component handlers component/pipeline-components Related to pipeline components type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Kafka Connect initial_state
2 participants