{{ template "chart.header" . }}

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}

{{ template "chart.requirementsSection" . }}


## Basics

All configuration information is provided in `kafka_cluster.yaml`, it is used by the [Strimzi](https://strimzi.io/) operator for building the Kafka cluster and generating configMap (log4j properties can be provided in separate configMaps if desired).


## Helpful material

[Quick Start for Strimzi Kafka](https://strimzi.io/quickstarts/)

[Strimzi Kafka Github](https://github.com/strimzi/strimzi-kafka-operator)

[Strimzi documentation](https://strimzi.io/docs/operators/latest/configuring.html)

[Deploying Strimzi with certificates blog](https://strimzi.io/blog/2021/05/07/deploying-kafka-with-lets-encrypt-certificates/)


## Changes To Strimzi

-  Strimzi Kafka operator file `values.yaml` has been modified to use the image with [hops-kafka-authorizer](https://github.com/logicalclocks/hops-kafka-authorizer) dependency (to add dependencies to docker images read [developer guide](https://github.com/strimzi/strimzi-kafka-operator/blob/main/development-docs/DEV_GUIDE.md)).

Branch with the changes to strimzi: https://github.com/logicalclocks/strimzi-kafka-operator/tree/release-0.39.x


## To Run

For testing:
```bash
kubectl get pod -n hopsworks --watch
```

Basics in kafka:
```bash
bin/kafka-topics.sh --bootstrap-server kafka-cluster-kafka-0.kafka-cluster-kafka-brokers.hopsworks.svc:9092 --list
bin/kafka-topics.sh --bootstrap-server kafka-cluster-kafka-0.kafka-cluster-kafka-brokers.hopsworks.svc:9092 --create --topic test_onlinefs
```

{{ template "chart.valuesSection" . }}