lensesio / kafka-connect-ui

Web tool for Kafka Connect |
http://lenses.io/product/features
Other
506 stars 129 forks source link

CONNECTIVITY ERROR #102

Open shenzgang opened 4 years ago

shenzgang commented 4 years ago

Unable to connect to Kafka-Connect, However, it is normal to request http://node-01:8083/connectors, 20200724172407 How can I properly manage kafka-Connect? thanks!

isopropylcyanide commented 3 years ago

Solution is to whitelist the relevant origins in your connect-distributed.properties file. Refer the Connect Worker configs access.control.allow.origin

access.control.allow.origin=*
access.control.allow.methods=GET,POST,PUT,DELETE,OPTIONS,HEAD

For security reasons, do not set it to * . Post testing, set it to the whitelisted value of your domain.