This repository contains some simple examples of how to use the Strimzi api
module.
The examples are currently based on the Strimzi 0.33.2 release.
The api
module is available in Maven repositories, so it can be easily integrated into your Java applications.
It can be used together with the Fabric8 Kubernetes Client to manage Strimzi resources in your Kubernetes cluster.
Install
: Installs the Strimzi Cluster OperatorUninstall
: Uninstalls the Strimzi Cluster Operator
CreateKafka
: Deploys Kafka clusterCreateKafka
: Updates the Kafka cluster and waits for the rolling update to completeDeleteKafka
: Deletes the Kafka cluster
CreateConnectAndConnector
: Deploys Kafka Connect, Kafka topic and two connectorsDeleteConnectAndConnector
: Delete Kafka Connect, Kafka topic and two connectorsPauseConnector
: Example which pauses an existing Kafka Connect connectorUnpauseConnector
: Example which pauses an existing Kafka Connect connector
Rebalance
: Triggers and approves cluster rebalance using Cruise Control and theKafkaRebalance
custom resource. Once the rebalance is complete, it deletes it.