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

Issue on external service (Kafka) #344

Open
tittuvarghese opened this issue Apr 30, 2021 · 1 comment
Open

Issue on external service (Kafka) #344

tittuvarghese opened this issue Apr 30, 2021 · 1 comment

Comments

@tittuvarghese
Copy link

tittuvarghese commented Apr 30, 2021

There is some issue with exposing the NodePort for outside access in Kafka. It's refusing the connection even though the service is up and running as per the logs.

[root@AWSB outside-services]# kubectl logs -n kafka kafka-1 2>&1 | grep 9094
        listeners = PLAINTEXT://:9092,OUTSIDE://:9094
        listeners = PLAINTEXT://:9092,OUTSIDE://:9094
[2021-04-30 10:01:12,968] INFO Awaiting socket connections on 0.0.0.0:9094. (kafka.network.Acceptor)
[2021-04-30 10:01:12,979] INFO [SocketServer brokerId=1] Created data-plane acceptor and processors for endpoint : EndPoint(null,9094,ListenerName(OUTSIDE),PLAINTEXT) (kafka.network.SocketServer)

[root@AWSB outside-services]# curl -v telnet://10.7.18.16:32400
* Rebuilt URL to: telnet://10.7.18.16:32400/
*   Trying 10.7.18.16...
* TCP_NODELAY set
* connect to 10.7.18.16 port 32400 failed: Connection refused
* Failed to connect to 10.7.18.16 port 32400: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 10.7.18.16 port 32400: Connection refused

[root@AWSB outside-services]# kubectl get svc -n kafka | grep out
outside-0       NodePort    172.102.169.196   <none>        32400:32400/TCP     37m
[root@AWSB outside-services]#
@solsson
Copy link
Contributor

solsson commented Apr 30, 2021

Could #187 be related? It's quite possible that general purpose outside access must be outside the scope of this project. Obviously it's also possible that you've stumbled upon a regression. If you think so please state which branch or commit you applied from.

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

No branches or pull requests

2 participants