-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
86 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from kpops.components.base_components.helm_app import HelmApp | ||
from kpops.components.base_components.kafka_app import KafkaApp | ||
from kpops.components.base_components.kafka_connector import ( | ||
KafkaConnector, | ||
KafkaSinkConnector, | ||
KafkaSourceConnector, | ||
) | ||
from kpops.components.base_components.kubernetes_app import KubernetesApp | ||
from kpops.components.base_components.pipeline_component import PipelineComponent | ||
|
||
__all__ = ( | ||
"HelmApp", | ||
"KafkaApp", | ||
"KafkaConnector", | ||
"KafkaSinkConnector", | ||
"KafkaSourceConnector", | ||
"KubernetesApp", | ||
"PipelineComponent", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,9 @@ | ||
from abc import ABC | ||
|
||
from pydantic import Field | ||
|
||
from kpops.component_handlers.helm_wrapper.model import HelmRepoConfig | ||
from kpops.components.base_components.helm_app import HelmApp | ||
from kpops.utils.docstring import describe_attr | ||
|
||
STREAMS_BOOTSTRAP_HELM_REPO = HelmRepoConfig( | ||
repository_name="bakdata-streams-bootstrap", | ||
url="https://bakdata.github.io/streams-bootstrap/", | ||
from kpops.components.common.streams_bootstrap import StreamsBootstrap | ||
from kpops.components.streams_bootstrap.producer.producer_app import ProducerApp | ||
from kpops.components.streams_bootstrap.streams.streams_app import StreamsApp | ||
|
||
__all__ = ( | ||
"StreamsBootstrap", | ||
"StreamsApp", | ||
"ProducerApp", | ||
) | ||
STREAMS_BOOTSTRAP_VERSION = "2.9.0" | ||
|
||
|
||
class StreamsBootstrap(HelmApp, ABC): | ||
"""Base for components with a streams-bootstrap Helm chart. | ||
:param repo_config: Configuration of the Helm chart repo to be used for | ||
deploying the component, defaults to streams-bootstrap Helm repo | ||
:param version: Helm chart version, defaults to "2.9.0" | ||
""" | ||
|
||
repo_config: HelmRepoConfig = Field( | ||
default=STREAMS_BOOTSTRAP_HELM_REPO, | ||
description=describe_attr("repo_config", __doc__), | ||
) | ||
version: str | None = Field( | ||
default=STREAMS_BOOTSTRAP_VERSION, | ||
description=describe_attr("version", __doc__), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.