Slackbot
11/15/2023, 5:01 PMDavid K
11/15/2023, 7:32 PMa+r ? Is this a docker cluster, or K8s?Yu Wei Sung
11/15/2023, 7:59 PMojoxdan
11/15/2023, 8:31 PMojoxdan
11/15/2023, 8:34 PM<https://pulsar.apache.org/docs/3.1.x/getting-started-helm/#step-2-use-pulsar-admin-to-create-pulsar-tenantsnamespacestopics>Yu Wei Sung
11/15/2023, 8:37 PMYu Wei Sung
11/15/2023, 8:39 PMojoxdan
11/16/2023, 7:57 PMpulsar-admin functions download options
my question is this, is it possible to download a sink or source connector with the above command ?
for example I want to download this file source connetor
https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.1.1/connectors/pulsar-io-file-3.1.1.narYu Wei Sung
11/16/2023, 8:09 PMYu Wei Sung
11/16/2023, 8:10 PMDavid K
11/16/2023, 8:31 PMojoxdan
11/16/2023, 8:39 PMojoxdan
11/16/2023, 8:39 PMojoxdan
11/16/2023, 8:39 PMDavid K
11/16/2023, 8:40 PMDavid K
11/16/2023, 11:09 PMojoxdan
11/16/2023, 11:22 PMojoxdan
11/21/2023, 2:11 PMextraVolumes:
- name: pulsar-connectors
persistentVolumeClaim:
claimName: pulsar-data-pvc
extraVolumeMounts:
- name: pulsar-connectors
mountPath: /pulsar/connectors
readOnly: false
this is effective as I could see that the connectors is I added to the volume when I run this command in any of the pods
ls connectors
also the following request returns an empty array just like the standalone instance before sink reload
curl <http://serviceurl:8080/admin/v3/functions/connectors>
Now my challenge is the sinks or functions are not loaded when I refresh it with the below request
curl -X POST <http://serviceurl:8080/admin/v3/sinks/reloadBuiltInSinks>
this works effortlessly on with the standaloneojoxdan
11/21/2023, 2:14 PMDavid K
11/21/2023, 6:16 PMconnectorsDirectory parameter in the ./conf/functions_worker.yml configuration file? Assuming that maps to your mount path of /pulsar/connectors, have you attempted to reload the connectors?