Kafka - How to configure your Kafka cluster to accept incoming connections
Find out how to configure your Kafka cluster to accept incoming connections
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 configure your Kafka cluster to accept incoming connections via the OVHcloud Console.
Requirements
- A Public Cloud project in your OVHcloud account
- A Kafka cluster running on OVHcloud Public Cloud
OVHcloud Console Access
- Direct link:
- Navigation path:
Public Cloud> Select your project >Analytics
Instructions
Configuring the Apache Kafka service
Once your Kafka service is up and running, you will have to define at least one user and one authorised IP (if not already provided during the order) in order to fully connect to the service (as producer or consumer).
The status of your service changes to Active when it is ready.
Setting up a user
Switch to the Users tab. An admin user named avnadmin is preconfigured during the service installation.
You can add more users by clicking the Add a user button.
Enter a Username, then click Create. The password is displayed only once: note it down.
Passwords can be reset from the ... button on the row of the user in the Users tab (Reset password).
A new user has no access to your topics until you grant it access with an access control list (ACL). We recommend creating one user per application, with only the permissions it needs. See the ACL guide.
Configuring authorised IPs
For security reasons the default network configuration doesn't allow any incoming connections. It is thus critical to authorize the suitable IP addresses in order to successfully access your Kafka cluster.
If you did not define the IP restrictions during the order, you can do it in the IP restrictions section of the Configuration tab. At least one IP address must be authorised here before you can connect to your service.
Click Add and enter an IP address or a CIDR block in the IP block (CIDR) field, or add the IP address of your computer with the Add my current IP button, then click Save.
You can remove IPs from the list afterward.
Your Apache Kafka service is now fully accessible! Optionally, you can configure access control lists (ACL) for granular permissions and create topics.
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.