This repo contains Helm Charts Apache Kafka components
Add the repo:
helm repo add lensesio https://lensesio.github.io/kafka-helm-charts/
helm repo update
Stream-reactor and Kafka Connectors any environment variable beginning with CONNECT
is used to build the Kafka Connect properties file, the Connect cluster is started with this file in distributed mode. Any
environment variable starting with CONNECTOR
is used to make the Connector properties file, which is posted into
the Connect cluster to start the connector.
Documentation for the Lenses chart can be found here.
Documentation for the Lenses SQL Runner chart can be found here.
The connectors support SSL and SASL on Kafka. For this you need to provide the base64 encoded contents of the key and truststores.
The key/truststores added to a secret and mounted into /mnt/secrets
For SASL, you need to provide the base64 encoded keytab file contents. Note that the keytab path in the jaas.conf must be set to /mnt/secrets.
If the connector, for example, Cassandra requires SSL, provided the base64 contents for the key/truststores. They will be mounted into /mnt/connector-secrets and any connector config parameters are set automatically.
For connectors supporting TLS, the certs will be mounted via secrets into /mnt/connector-secrets and any connector config parameters are set automatically
Make sure to not include split lines.
openssl base64 < client.keystore.jks | tr -d '\n'
Run package.sh
this in turn calls scripts/lint.sh
which will perform linting checks on the charts and also check we aren't going to overwrite existing charts.
If all good, checkin, tag and push the ```docs`` folder. This charts are hosted on the github page.
Contributions are welcome for any Kafka Connector or any other component that is useful for building Data Streaming pipelines
For integrity we sign the Helm Charts. For more information see this document https://helm.sh/docs/topics/provenance/.
The steps to do so are as follows:
- Create a GPG key, and follow the steps to create it noting the name of the key which is later used for signing the charts.
gpg --full-generate-key
- then export the key
gpg --export-secret-keys > key.gpg
- encrypt the key following the manual steps in this doc https://docs.travis-ci.com/user/encrypting-files/
openssl aes-256-cbc -k "HELM_KEY_PASSPHRASE" -in key.gpg -out key.gpg.enc
- And commit the key.gpg.enc to Git.
The package.sh
then needs to be updated with the key name, and an environment variable HELM_KEY_PASSPHRASE
created in the travis build settings with the pass phrase used to encrypt the key.