Installing Kafka on OpenShift

The simplest way to install and manage an Apache Kafka cluster on the OpenShift cluster is via the Strimzi project (https://strimzi.io/), which can be installed as an OpenShift Operator.

Start by creating a new OpenShift project named kafka-demo. You can either create it from the admin console or using the oc command-line utility, as follows:

oc new-project kafka-demo

The returned output will confirm that the project namespace has been created in your virtual address:

Now using project "kafka-demo" on server "https://api.fmarchioni-openshift.rh.com:6443".

The server name will be different in your case, depending on the account name you chose when you signed in.

We recommend continuing from the OpenShift web-console. ...

Get Hands-On Cloud-Native Applications with Java and Quarkus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.