Skip to content

pulsar-admin functions cannot use package URL to create function #11665

@freeznet

Description

@freeznet

Is your feature request related to a problem? Please describe.
Pulsar 2.8 introduced Pulsar Package management service, which allows user to management function/connector packages. It will be great if pulsar-admin can apply package URL as argument when create functions.

When trying to create function with package URL, pulsar-admin returns error The specified jar file does not exist

below is the test command:

pulsar-admin functions create \
  --jar function://public/default/test1@0.1 \
  --classname org.apache.pulsar.functions.api.examples.LoggingFunction \
  --inputs persistent://public/default/my-topic-1 \
  --output persistent://public/default/test-1 \
  --tenant public \
  --namespace default \
  --name test1

Describe the solution you'd like
Allow passing valid package URL from pulsar-admin functions

Metadata

Metadata

Assignees

Labels

type/featureThe PR added a new feature or issue requested a new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions