Skip to content

Conversation

@wolfstudy
Copy link
Contributor

Signed-off-by: xiaolong.ran ranxiaolong716@gmail.com

Add stop cmd for Pulsar Functions, the output as follows:

USED FOR:
    This command is used for stopping function instance.

REQUIRED PERMISSION:
    This command requires super-user permissions.

EXAMPLES:
    #Stops function instance
    pulsarctl functions stop
	--tenant public
	--namespace default
	--name <the name of Pulsar Function>

    #Stops function instance with instance ID
    pulsarctl functions stop
	--tenant public
	--namespace default
	--name <the name of Pulsar Function>
	--instance-id 1

    #Stops function instance with FQFN
    pulsarctl functions stop
	--fqfn tenant/namespace/name [eg: public/default/ExampleFunctions]

OUTPUT:
    #normal output
    Stopped successfully

Usage: pulsarctl functions stop [flags]

Aliases: stop, stop

FunctionsConfig flags:
      --fqfn string          The Fully Qualified Function Name (FQFN) for the function
      --tenant string        The tenant of a Pulsar Function
      --namespace string     The namespace of a Pulsar Function
      --name string          The name of a Pulsar Function
      --instance-id string   The function instanceId (stop all instances if instance-id is not provided)

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy
Copy link
Contributor Author

@sijie @zymap PTAL

@wolfstudy wolfstudy merged commit b3721e6 into master Sep 3, 2019
@sijie sijie mentioned this pull request Sep 4, 2019
29 tasks
@wolfstudy wolfstudy deleted the xiaolong/stop-pulsar-functions branch October 11, 2019 06:25
tisonkun pushed a commit to tisonkun/pulsar-client-go that referenced this pull request Aug 15, 2023
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
tisonkun pushed a commit to apache/pulsar-client-go that referenced this pull request Aug 16, 2023
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants