Getting started with Red Hat OpenShift Streams for Apache Kafka

Learn how to create and inspect a Kafka instance, create a service account to connect an application or service to the instance, and create a topic in the instance. 

Learn how to create and inspect a Kafka instance, create a service account to connect an application or service to the instance, and create a topic in the instance. 

Resources in this path

1 resource 10 mins

Getting started with Red Hat OpenShift Streams for Apache Kafka

10 mins

Red Hat OpenShift Streams for Apache Kafka provides dedicated high-availability Apache Kafka clusters delivered as a service across your hybrid cloud environments, so you can process streamed data. The service provides a consistent experience across clouds, easily connects to other OpenShift workloads, and lets you provision Kafka instances in minutes. 

To access a quick start that guides you through setup, please follow this link to the Red Hat Console.

Create a Kafka instance

Kafka instance page on Red Hat console displaying names and cloud providers of created instances

  1. In the OpenShift Streams for Apache Kafka web console, go to Streams for Apache Kafka > Kafka Instances and click Create Kafka instance.
    1. Go to Apache Kafka web console.
  2. Enter a unique name for the Kafka instance, such as my-first-kafka-instance.
  3. From the Cloud region drop-down menu, select your region. 
  4. The selection for availability zones is preconfigured as Single for a trial instance and Multi for a production instance.
  5. If you’ve purchased a subscription for OpenShift Streams for Apache Kafka, use the slider to select an instance size. Instances with more streaming units have more capacity.
  6. Click Create instance to start the creation process for your Kafka instance.

Create a service account to connect your instance

To connect your applications or services to a Kafka instance in Red Hat OpenShift Streams for Apache Kafka, you need to create a service account that’s associated with the instance. 

  1. Ensure your Kafka instance is in the Ready state.
  2. In the Kafka Instances page of the web console, for the relevant Kafka instance that you want to connect to, select the options icon (three vertical dots) and click Connection.
    1. Go to Apache Kafka web console
  3. In the Connection page, copy the Bootstrap server endpoint to a secure location. This is the bootstrap server endpoint that you’ll need for connecting to this Kafka instance.
  4. Click Create service account to set up the account that you’ll use to access this Kafka instance.
  5. Enter a short description, such as my-service-account, and click Create.
  6. Copy the generated Client ID and Client secret values to a secure location. These are the credentials that you’ll use to connect to this Kafka instance.
  7. After you save the generated credentials to a secure location, select the confirmation check box in the credentials window and close the window.
     

What’s next?

Once your instance is created and connected to a service account, you can set permissions, create a Kafka topic, and more. For additional information on getting started with a Kafka instance, visit the quick start hub on console. 

Go to Quick start hub 

Back to the basics
Learn or refresh your foundations
Hybrid Cloud Logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy, sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Subscribe to our newsletter, Red Hat Shares

Sign up now