'How to change Kafka port

I am using Confluent Platform 7.0.1 for Ubuntu.

In version 6

enter image description here

but in version 7

enter image description here



Solution 1:[1]

The etc folder is not the same share/java, so I don't know what your images are trying to show.

The answer is the same for all versions of Confluent Platform because the actual property for Apache Kafka didn't change.

You use listeners of server.properties to set the bind address of the server, as shown in the first image, in the etc/ folder; and none of the Broker properties files are under share/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1