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

Consumer connect to localhost instead of specified kafka endpoint #192

Open
marales opened this issue Feb 26, 2021 · 0 comments
Open

Consumer connect to localhost instead of specified kafka endpoint #192

marales opened this issue Feb 26, 2021 · 0 comments

Comments

@marales
Copy link

marales commented Feb 26, 2021

Hello,

I'm using this command to start:

/usr/bin # kafka-pixy -kafkaPeers 192.168.0.102:9092 -zookeeperPeers 192.168.0.102:2181

The startup logs:

2021-02-26 09:47:12.244740 Z info "Starting with config: &{GRPCAddr:0.0.0.0:19091 TCPAddr:0.0.0.0:19092 UnixAdd r: Proxies:map[default:0xc0000e2380] DefaultCluster:default TLS:{CertPath: KeyPath:} Logging:[{Name:console Sev erity:info Params:map[]}]}" 2021-02-26 09:47:12.245145 Z info "Initializing new client" category=sarama 2021-02-26 09:47:12.245402 Z info "client/metadata fetching metadata for all topics from broker 192.168.0.102:9 092" category=sarama 2021-02-26 09:47:12.250869 Z info "Connected to broker at 192.168.0.102:9092 (unregistered)" category=sarama 2021-02-26 09:47:12.259271 Z info "client/brokers registered new broker #1 at localhost:9092" category=sarama 2021-02-26 09:47:12.259622 Z info "Successfully initialized new client" category=sarama 2021-02-26 09:47:12.259764 Z info "Initializing new client" category=sarama 2021-02-26 09:47:12.259958 Z info "client/metadata fetching metadata for all topics from broker 192.168.0.102:9 092" category=sarama 2021-02-26 09:47:12.260502 Z info </default.0/offset_mgr_f.0/mapper.0> Started 2021-02-26 09:47:12.264473 Z info "Connected to broker at 192.168.0.102:9092 (unregistered)" category=sarama 2021-02-26 09:47:12.272524 Z info "client/brokers registered new broker #1 at localhost:9092" category=sarama 2021-02-26 09:47:12.273188 Z info "Successfully initialized new client" category=sarama 2021-02-26 09:47:12.273486 Z info "Initializing new client" category=sarama 2021-02-26 09:47:12.273584 Z info "client/metadata fetching metadata for all topics from broker 192.168.0.102:9 092" category=sarama 2021-02-26 09:47:12.273942 Z info </default.0/prod_disp.0> Started 2021-02-26 09:47:12.273954 Z info </default.0/prod_merg.0> Started 2021-02-26 09:47:12.278704 Z info "Connected to broker at 192.168.0.102:9092 (unregistered)" category=sarama 2021-02-26 09:47:12.286308 Z info "client/brokers registered new broker #1 at localhost:9092" category=sarama 2021-02-26 09:47:12.286596 Z info "Successfully initialized new client" category=sarama 2021-02-26 09:47:12.287543 Z info </default.0/cons.0/disp.0> Started 2021-02-26 09:47:12.291316 Z info "Connected to 192.168.0.102:2181" category=zk 2021-02-26 09:47:12.291549 Z info </service.0> Started 2021-02-26 09:47:12.293309 Z info </0.0.0.0:19092.0> Started 2021-02-26 09:47:12.293628 Z info </grpc://0.0.0.0:19091.0> Started 2021-02-26 09:47:12.303813 Z info "authenticated: id=72175915223285767, timeout=15000" category=zk 2021-02-26 09:47:12.303984 Z info "re-submitting 0 credentials after reconnect" category=zk

I don't understand why this happens:

2021-02-26 09:47:12.278704 Z info "Connected to broker at 192.168.0.102:9092 (unregistered)" category=sarama
2021-02-26 09:47:12.286308 Z info "client/brokers registered new broker #1 at localhost:9092" category=sarama

Client is forwarded to localhost. It is any way to configure it ?

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

1 participant