Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

[FEATURE] Add a default protocol configuration for the unknown host #1930

@KamenRiderKuuga

Description

@KamenRiderKuuga

Is your feature request related to a problem? Please describe.
In our company's internal environment, we use LAN IP to connect to KoP, sometimes we need to proxy this address to the external network address, so that external developers can connect to our KoP.

Due to the external address must be set in kafkaAdvertisedListeners as first, so every time we adjust the address of the proxy server, we need to adjust the KoP configuration at the same time.

Describe the solution you'd like

After configuring the proxy, the external environment can actually access the KoP server, but the protocol corresponding to the address it uses cannot be found.

Because the configuration of Pulsar cannot be hot-updated, and in this case, there is actually no need to update the configuration frequently. It is hoped that there will be a default protocol configuration for unknown hosts to use.

kafkaDefaultProtocol=PLAINTEXT

In this way, no matter what address is used, as long as it can successfully connect to the server, the default protocol will be used

Describe alternatives you've considered
Maybe we can use 0.0.0.0 to represent all other IP addresses?

kafkaAdvertisedListeners=PLAINTEXT://0.0.0.0:9092

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureIndicates new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions