It can work normal,console show the message "The standalone worker boot success.".
2、change the config file and restart Worker
i set plugin path value as your recommand
pluginPaths=/usr/local/connector-plugins
3、add connect-kafka plugin
I try to package the module "rocketmq-connect-kafka",but i got a pom file.then i change pom.xml,let packaging labe value equal jar,then i got a jar file.And i push it to the plugin path.i also restarted Worker by the script "sh bin/connectshutdown.sh".
{
"errorCode": 500,
"message": "Failed to find any class that implements Connector and which name matches org.apache.rocketmq.connect.kafka.connector.KafkaSourceConnector, available connectors are: PluginWrapper{klass=class org.apache.rocketmq.connect.file.FileSinkConnector, name='org.apache.rocketmq.connect.file.FileSinkConnector', type=sink, typeName='sink', location='classpath', version='undefined', encodedVersion=undefined, classLoader=sun.misc.Launcher$ExtClassLoader@19469ea2}, PluginWrapper{klass=class org.apache.rocketmq.connect.file.FileSourceConnector, name='org.apache.rocketmq.connect.file.FileSourceConnector', type=source, typeName='source', location='classpath', version='undefined', encodedVersion=undefined, classLoader=sun.misc.Launcher$ExtClassLoader@19469ea2}"
}
Did i overlook something important?Hope your reply!
There are my steps:
It can work normal,console show the message "The standalone worker boot success.".
i set plugin path value as your recommand
I try to package the module "rocketmq-connect-kafka",but i got a pom file.then i change pom.xml,let packaging labe value equal jar,then i got a jar file.And i push it to the plugin path.i also restarted Worker by the script "sh bin/connectshutdown.sh".
I create connect kafka by url like this:
however i got the response:
Did i overlook something important?Hope your reply!