How to create a new worker and run Kafka Connect Distributed mode with it?

Hi, How should I modify the worker.properties file to create a new worker?
I saw some lines in the file which I think I should change, but I’m not sure
#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=0.0.0.0
#rest.port=8083
#The Hostname & Port that will be given out to other workers to connect to i.e. URLs that are routable from other servers.
#rest.advertised.host.name=0.0.0.0
#rest.advertised.port=8083

And how to run the Kafka distributed connect with multi worker?
Normally, the run command is “bin/connect-distributed worker.properties”
So is the run command for multi-worker will be “bin/connect-distributed worker1.properties, worker2.properties”?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.