Kafka - How to create topics for your Kafka cluster
Find out how to create Kafka topics
Objective
Apache Kafka is an open-source, distributed event streaming platform designed for real-time, large-scale data processing with high scalability, durability, and low latency.
This guide explains how to create Kafka topics via the OVHcloud Console or the OVHcloud API.
Requirements
- A Public Cloud project in your OVHcloud account
- A Kafka cluster running on OVHcloud Public Cloud accepting incoming connections
OVHcloud Console Access
- Direct link:
- Navigation path:
Public Cloud> Select your project >Analytics
Instructions
Creating Kafka topics
Topics can be seen as categories, allowing you to organize your Kafka records. Producers write to topics, and consumers read from topics.
To create Kafka topics, first go to the Topics tab then click on the Add a topic button. In the Add a topic panel, enter the name of the topic.
Under Advanced settings, you can change the default value for the following parameters:
- Min insync replicas (2 by default)
- Partitions (1 partition by default)
- Replication factor (3 brokers by default)
- Retention bytes (-1: no limitation by default)
- Retention hours (-1: no limitation by default)
- Deletion policy
Then click Create.
Once the topic is created, grant access to it with an access control list (ACL).
We want your feedback!
We would love to help answer questions and appreciate any feedback you may have.
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.
Are you on Discord? Connect to our channel at https://discord.gg/ovhcloud and interact directly with the team that builds our Analytics service!
Join our community of users.