Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a command in Pulsar Function overview Document #2143

Merged

Conversation

yumochiz
Copy link
Contributor

Motivation

In https://pulsar.incubator.apache.org/docs/latest/functions/overview/

$ bin/pulsar-functions localrun \
  --inputs persistent://public/default/test_src \
  --output persistent://public/default/test_result \
  --jar examples/api-examples.jar \
  --className org.apache.pulsar.functions.api.examples.ExclamationFunction

cannot run because pulsar-functions is not in bin.

-bash: bin/pulsar-functions: No such file or directory

Modifications

I changed pulsar-function to pulsar-admin functions.

$ bin/pulsar-admin functions localrun \
   --inputs persistent://public/default/test_src \
   --output persistent://public/default/test_result \
   --jar examples/api-examples.jar \
   --className org.apache.pulsar.functions.api.examples.ExclamationFunction

Result

We can run the process.

@massakam massakam added doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. component/website labels Jul 12, 2018
@massakam massakam added this to the 2.1.0-incubating milestone Jul 12, 2018
@merlimat merlimat merged commit bf906d1 into apache:master Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants