Installing Connect-Plugins
Installing plugins
The way connect-plugins are currently provided for the helm installation of the platform is:
-
Host connect-plugins on a webserver
-
An init-job downloads the plugins and common jars
-
The plugins are stored in a volume
-
Axual-Connect pods mount the volume
The plugins and common jars are downloaded on every restart of the pod. A more efficient method is being developed, but for now this is the supported method. |
In order to install a new connect-plugin, you have to:
-
Add the new Connect-Plugin JARs to the FileServer
There is one archive file for connect-plugins, and one for the common-jars -
Confirm that Axual Connect has the correct configuration to download Connect-Plugins from your FileServer
downloadPlugins: artifactsBaseUrl: "[URL_OF_YOUR_FILE_SERVER]" connectPluginsFile: "[PATH_TO_YOUR_PLUGINS_TARBALL]" commonResourcesFile: "[PATH_TO_YOUR_COMMON_RESOURCES_TARBALL]"
-
Issue a
helm upgrade
command for Axual-Connect:helm upgrade --install -n kafka axual-connect -f [YOUR_CUSTOM_VALUES]
Make the new Connect-Plugins available in the Self-Service portal
After Axual Connect has been restarted, confirm that the plugins are available by checking the /connector-plugins
endpoint of any Connect-Node’s API.
Although the plugins are available in the Connect-Cluster, they may not yet available on the Self-Service portal.
You have two options to make the new Connect-Plugins available:
-
Wait until the
reconciliation.connect.plugin
job has executed-
You can check how often the reconciliation connect plugin job runs by checking selfservice-api’s
SCHEDULER_RECONCILIATION_CONNECT_PLUGINS_CRON
config value. -
You can change the frequency by configuring the
SCHEDULER_RECONCILIATION_CONNECT_PLUGINS_CRON
value. see Configuring Connect Reconciliation Jobs
-
-
Manually trigger a refresh of Connector Plugin by editing the Instance associated the Axual Connect in the Self-Service Portal
-
Log in the Self-Service Portal as a TENANT_ADMIN
-
Go to Instances page
-
Select the Instance associated with the Axual Connect instance you updated the plugins for
-
Press the
edit
button -
Save the Instance as-is, without changing anything. This will trigger the reconciliation plugin job to run immediately
-
When upgrading connect-plugin versions, existing connectors may start failing due to missing mandatory configurations. |