You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by nl...@apache.org on 2023/01/27 22:06:57 UTC

[pulsar] 01/01: update window function example yaml

This is an automated email from the ASF dual-hosted git repository.

nlu90 pushed a commit to branch neng/fix-window-funtion-example
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 8c59442d20967b04823bcda245384cd03e809afb
Author: Neng Lu <nl...@streamnative.io>
AuthorDate: Fri Jan 27 14:06:50 2023 -0800

    update window function example yaml
    
    Fix https://github.com/apache/pulsar/issues/19299
---
 .../src/main/resources/example-window-function-config.yaml          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pulsar-functions/java-examples/src/main/resources/example-window-function-config.yaml b/pulsar-functions/java-examples/src/main/resources/example-window-function-config.yaml
index 3edba315e96..4559ab5005a 100644
--- a/pulsar-functions/java-examples/src/main/resources/example-window-function-config.yaml
+++ b/pulsar-functions/java-examples/src/main/resources/example-window-function-config.yaml
@@ -19,10 +19,10 @@
 
 tenant: "test"
 namespace: "test-namespace"
-name: "example"
+name: "window-example"
 className: "org.apache.pulsar.functions.api.examples.AddWindowFunction"
-inputs: ["test_src"]
-output: "test_result"
+inputs: ["test_window_src"]
+output: "test_window_result"
 autoAck: true
 parallelism: 1
 windowConfig: