Created 07-06-2017 02:32 AM
I have 3 nodes in kafka cluster, and need to create connector to stream data to mongodb. so on kafka side, I need to create this connector, seemed it has some issues.
when I run this curl : curl -X POST -H "Content-Type: application/json" --data @/tmp/mongo_connector_configs.json http://localhost:8083/connectors
1. always get connect to localhost:8083 refused, after change to FQDN, still the same error.
2. So cat id_rsa.pub>>authorized_keys, the error is gone, no errors after execute curl command above.
3. when netstats -tunlp|grep 8083, the output is nothing -- this means 8083 is not listen
4. after I started producer, and enter some doc, I just dont see data insert to mongdb at all.
Dont let mongdb part freak you out, it is all about kafka connector creation.
Can any one help me with this issue? thank you very much.
Created 07-07-2017 04:39 AM
What is the o/p of this command.
telnet localhost 8083
Created 07-07-2017 03:53 PM
I got this
telnet localhost 8083,
connect to address 127.0.0.1: Connection refused
please let me know what I can do from here. 8083 is default port for kafka connector, how come it refused connection?
Created 07-07-2017 06:40 PM
What is the host entries
What is the ip binded to port.
netstat -tulpn | grep -i 8083
Created 07-07-2017 07:07 PM
thank you for your time, this is the /etc/hosts file, I have 6 of them
b1 ec2-54-216-249-113.us-west-1.compute.amazonaws.com 188.8.131.52 ip-172-31-4-232.us-west-1.compute.internal b2 ec2-54-215-167-71.us-west-1.compute.amazonaws.com 184.108.40.206 ip-172-31-14-204.us-west-1.compute.internal b3 ec2-54-192-74-19.us-west-1.compute.amazonaws.com 220.127.116.11 ip-172-31-0-58.us-west-1.compute.internal
b4 ec2-54-183-108-236.us-west-1.compute.amazonaws.com 18.104.22.168 ip-172-31-12-149.us-west-1.compute.internal
netstat -tulpn | grep -i 8083 output is nothing