running locally:
```
- before produce hello.
➜  apache-pulsar-2.2.0-SNAPSHOT git:(func_state_rest) curl -s 
http://localhost:8080/admin/v2/functions/test/test-namespace/word_count/state/hello
key 'hello' doesn't exist.%                                                     
                                                                                
                    ➜  apache-pulsar-2.2.0-SNAPSHOT git:(func_state_rest) 
bin/pulsar-client produce -m "hello" -n 10 test_wordcount_src

- produce hello once
➜  apache-pulsar-2.2.0-SNAPSHOT git:(func_state_rest) curl -s 
http://localhost:8080/admin/v2/functions/test/test-namespace/word_count/state/hello
value : 10, version : 9% 

- produce another time
➜  apache-pulsar-2.2.0-SNAPSHOT git:(func_state_rest) curl -s 
http://localhost:8080/admin/v2/functions/test/test-namespace/word_count/state/hello
value : 20, version : 19%      
```

[ Full content available at: https://github.com/apache/pulsar/pull/2653 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to