kafka-connect-ui icon indicating copy to clipboard operation
kafka-connect-ui copied to clipboard

CONNECTIVITY ERROR

Open shenzgang opened this issue 3 years ago • 1 comments

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!

shenzgang avatar Jul 24 '20 09:07 shenzgang

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.

isopropylcyanide avatar Dec 06 '20 08:12 isopropylcyanide