Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to use "localhost" instead of 127.0.0.1 when accessing other services #347

Open
larsf96 opened this issue Dec 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@larsf96
Copy link

larsf96 commented Dec 20, 2023

Is your feature request related to a problem? Please describe.
Currently all services that are requested in KubernetesLocalProcessConfig.yaml are exposed via 127.0.0.1.
This is causing problems with (for example) Kafka as Kafka requires a hostname to be present. Using "localhost" instead of 127.0.0.1 would work in this case, but I don't see any option how to configure this

Mention what platform you want to support the new feature
All platforms

Describe the solution you'd like
It would be helpful if a DNS name could be specified that can be used instead of the local IP 127.0.0.1

Additional context

Caused by: org.apache.kafka.common.config.ConfigException: Invalid url in bootstrap.servers: 127.0.0.1
        at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:71) ~[kafka-clients-3.6.1.jar:na]
        at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:60) ~[kafka-clients-3.6.1.jar:na]
        at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:56) ~[kafka-clients-3.6.1.jar:na]
        at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:707) ~[kafka-clients-3.6.1.jar:na]
        ... 27 common frames omitted
@larsf96 larsf96 added the enhancement New feature or request label Dec 20, 2023
@Vidya2606
Copy link
Contributor

@larsf96 Thanks for raising this issue. We will check and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants