yonigibbs opened a new issue, #19299:
URL: https://github.com/apache/pulsar/issues/19299

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### What issue do you find in Pulsar docs?
   
   The example window function supplied with 2.11 is called `example` (see 
https://github.com/apache/pulsar/blob/master/pulsar-functions/java-examples/src/main/resources/example-window-function-config.yaml#L22).
 However in the documentation it expects it to be called `window-example`. See 
step 3 at 
https://pulsar.apache.org/docs/2.11.x/functions-quickstart/#start-window-functions,
 where it asks you to type in this command:
   
   ```
   bin/pulsar-admin functions get \
      --tenant test \
      --namespace test-namespace \
      --name window-example
   ```
   
   ### What is your suggestion?
   
   Either fix the documentation or the example file supplied with the build. 
Suggest the latter, as otherwise the other issue is that there's another 
example called `example`, and if you follow the docs, as I did, and try to 
install one example function followed by another it fails (the second attempt 
to create a function fails, as the function already exists from the previous 
step).
   
   
   
   ### Any reference?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to