radar-upload-source-connector

by RADAR-Base

Helm chartv0.6.2App 0.6.4Apache-2.0Verified publisher

A Helm chart for RADAR-base upload kafka connector. This is used for reading uploaded data from backend and sending them to Kafka cluster for later processing.

About this chart

radar-upload-source-connector

A Helm chart for RADAR-base upload kafka connector. This is used for reading uploaded data from backend and sending them to Kafka cluster for later processing.

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
replicaCountint2Number of radar-upload-source-connector replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-upload-source-connector/radar-connect-upload-source"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-upload-source-connector.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override radar-upload-source-connector.fullname template with a string
podSecurityContextobject{}Configure radar-upload-source-connector pods' Security Context
securityContextobject{}Configure radar-upload-source-connector containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint80radar-upload-source-connector port
resources.requestsobject{"cpu":"100m","memory":"800Mi"}CPU/Memory resource requests
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
secret.jaasobject{"key":"sasl.jaas.config","name":"shared-service-user"}Secret for the Kafka SASL JAAS configuration
extraEnvVarslist[{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_PRODUCER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_PRODUCER_SASL_MECHANISM","value":"SCRAM-SHA-512"}]Additional environment variables to pass to the connector. These can be used to pass supported kafka and connect specific configs
extraEnvVars[0]object{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"}Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
extraEnvVars[2]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.
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
zookeeperstringnilZookeeper URL. Leave unset using Kafka in Kraft mode.
kafkastring"SASL_PLAINTEXT://radar-kafka-kafka-bootstrap:9094"Kafka broker URLs
kafka_num_brokersstring"3"Number of brokers in the cluster
schema_registrystring"http://radar-kafka-schema-registry:8081"Schema registry URL
managementportal_urlstring"http://management-portal:8080/managementportal"URL of the Management Portal
radar_upload_connect_backendstring"radar-upload-connect-backend"Host name of the upload connect backend application
client_idstring"radar_upload_connect"OAuth2 Client Id of the Upload connector
client_secretstring"upload_secret"OAuth2 Client secret of the Upload connector
poll_intervalint60000How often the connector should poll for new records from upload connect backend in milliseconds.
record_converter_classesstringCheck values.yamlList of converter classes to be activated as comma separated values.
uploaderTypestring"s3"Uploader type for converters which directly write the files bypassing the Kafka processing. e.g. images and binaries.
s3Endpointstring"http://minio:9000/"Target S3 endpoint, if files should be written to a location bypassing the Kafka processing.
bucketAccessKeystring"access_key"Target S3 access key
bucketSecretKeystring"secret"Target S3 secret key
targetBucketNamestring"radar-output-storage"Target S3 bucket name
task.queueSizeint10000Maximum number of source records that can be produced at a time, preventing out of memory errors.
connect.offsetFlushIntervalMsint5000Interval at which to try committing offsets for tasks. See
producerobjectCheck belowOverride kafka producer configs. For more details see https://docs.confluent.io/platform/current/installation/configuration/producer-configs.html
producer.compressionTypestring"lz4"The compression type for all data generated by the producer.
producer.bufferMemoryint2000000The total bytes of memory the producer can use to buffer records waiting to be sent to the server.
producer.batchSizeint200000Batch size in bytes to batch records together into fewer requests when multiple records are being sent to the same partition.
kafka_wait.enabledbooltrueWhether to wait before the specified number of brokers are available.
kafka_wait.propertiesstring""Kafka connection properties file contents during wait. If empty, all environment variables starting with CONNECT_ will be used.

Deploy radar-upload-source-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-upload-source-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-upload-source-connector is pinned at v0.6.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