radar-s3-connector

by RADAR-Base

Helm chartv0.7.2App 7.8.5Apache-2.0Verified publisher

A Helm chart for RADAR-base s3 connector. This connector uses Confluent s3 connector with a custom data transformers. These configurations enable a sink connector. See full list of properties here https://docs.confluent.io/kafka-connect-s3-sink/current/configuration_options.html#s3-configuration-options

About this chart

radar-s3-connector

A Helm chart for RADAR-base s3 connector. This connector uses Confluent s3 connector with a custom data transformers. These configurations enable a sink connector. See full list of properties here https://docs.confluent.io/kafka-connect-s3-sink/current/configuration_options.html#s3-configuration-options

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Pim van Nierop[email protected]https://www.thehyve.nl/experts/pim-van-nierop

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
replicaCountint1Number of radar-s3-connector replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/kafka-connect-transform-keyvalue/kafka-connect-transform-s3"Image repository
image.tagstringnilImage tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override radar-s3-connector.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override radar-s3-connector.fullname template with a string
podSecurityContextobject{}Configure radar-s3-connector pods' Security Context
kafkaHeapOptsstring"-Xms3g -Xmx4g"JVM Options
securityContextobject{}Configure radar-s3-connector containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint8083radar-s3-connector port
resources.requestsobject{"cpu":"100m","memory":"3Gi"}CPU/Memory resource requests
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
extraEnvVarslist[]Additional environment variables to pass to the connector. These can be used to pass supported kafka and connect specific configs
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
livenessProbe.enabledbooltrueEnable livenessProbe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
readinessProbe.enabledbooltrueEnable readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint5Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
customStartupProbeobject{}Custom startupProbe that overrides the default one
startupProbe.enabledbooltrueEnable startupProbe
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint10Period seconds for startupProbe
startupProbe.timeoutSecondsint10Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint30Failure threshold for startupProbe
networkpolicyobjectcheck values.yamlNetwork policy defines who can access this application and who this applications has access to
kafka_num_brokersint3Number of deployed Kafka broker instances
kafka.urlstring"SASL_PLAINTEXT://radar-kafka-kafka-bootstrap:9094"Kafka broker URLs
kafka.securityobject{"env":[{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_PRODUCER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_PRODUCER_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_CONSUMER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_CONSUMER_SASL_MECHANISM","value":"SCRAM-SHA-512"}],"jaasSecret":{"key":"sasl.jaas.config","name":"shared-service-user"}}Security related env vars set in pods. Not applied when cc.enabled is true.
kafka.security.envlist[{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_PRODUCER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_PRODUCER_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_CONSUMER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_CONSUMER_SASL_MECHANISM","value":"SCRAM-SHA-512"}]Env vars set for authentication with Kafka brokers. Not applied when cc.enabled is true.
kafka.security.env[0]object{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"}Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
kafka.security.env[1]object{"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"}Mechanism used to authenticate with SASL. Valid values are: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512.
kafka.security.env[2]object{"name":"CONNECT_PRODUCER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"}Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
kafka.security.env[3]object{"name":"CONNECT_PRODUCER_SASL_MECHANISM","value":"SCRAM-SHA-512"}Mechanism used to authenticate with SASL. Valid values are: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512.
kafka.security.env[4]object{"name":"CONNECT_CONSUMER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"}Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
kafka.security.env[5]object{"name":"CONNECT_CONSUMER_SASL_MECHANISM","value":"SCRAM-SHA-512"}Mechanism used to authenticate with SASL. Valid values are: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512.
kafka.security.jaasSecretobject{"key":"sasl.jaas.config","name":"shared-service-user"}Secret for the Kafka SASL JAAS configuration. Not applied when cc.enabled is true.
schemaRegistry.urlstring"http://radar-kafka-schema-registry:8081"Schema registry URL
catalogServer.urlstring"http://catalog-server:9010"Catalog server URL
topicsstring""List of topics to be consumed by the sink connector separated by comma. Topics defined in the catalog server will automatically be loaded if initTopics.enabled is true.
s3Endpointstring"http://minio:9000/"Target S3 endpoint url
s3Taggingboolfalseset to true, if S3 objects should be tagged with start and end offsets, as well as record count.
s3PartSizeint5242880The Part Size in S3 Multi-part Uploads.
s3RegionstringnilThe AWS region to be used the connector. Some compatibility layers require this.
flushSizeint10000Number of records written to store before invoking file commits.
rotateIntervalint900000The time interval in milliseconds to invoke file commits.
maxTasksint4Number of tasks in the connector
bucketAccessKeystring"access_key"Access key of the target S3 bucket
bucketSecretKeystring"secret"Secret key of the target S3 bucket
bucketNamestring"radar_intermediate_storage"Bucket name of the target S3 bucket
cc.enabledboolfalseSet to true, if Confluent Cloud is used
cc.bootstrapServerurlstring""Confluent cloud based Kafka broker URL (if Confluent Cloud based Kafka cluster is used)
cc.schemaRegistryUrlstring""Confluent cloud based Schema registry URL (if Confluent Cloud based Schema registry is used)
cc.apiKeystring"ccApikey"API Key of the Confluent Cloud cluster
cc.apiSecretstring"ccApiSecret"API secret of the Confluent Cloud cluster
cc.schemaRegistryApiKeystring"srApiKey"API Key of the Confluent Cloud Schema registry
cc.schemaRegistryApiSecretstring"srApiSecret"API Key of the Confluent Cloud Schema registry
initTopics.enabledbooltrueIf true, fetch list of topics from catalog server
initTopics.image.repositorystring"linuxserver/yq"Image repository to fetch topics with
initTopics.image.tagstring"3.2.2"Image tag to fetch topics with
initTopics.image.pullPolicystring"IfNotPresent"Image pull policy to fetch topics with

Deploy radar-s3-connector with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar-s3-connector on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartradar-s3-connector is pinned at v0.7.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply