返回到文章

采纳

编辑于

kafka connector 端口修改无效

kafka

1、在使用连接器时使用了如下命令

bin/connect-standalone.sh config/connect-standalone.properties config/connect-file-source.properties config/connect-file-sink.properties

报了 8083端口占用的错误,于是将默认的8083修改为8085,然而同样的问题还是存在。仍然报的是8083端口被占用

2. 以下是修改配置文件的地方,文件是:connect-distributed.properties

 # These are provided to inform the user about the presence of the REST host and port configs 
# Hostname & Port for the REST API to listen on. If this is set, it will bind to the interface used to listen to requests.
#rest.host.name=
rest.port=8085