Jennifer88huang commented on a change in pull request #5536: Documentation updates, mainly for Python API URL: https://github.com/apache/pulsar/pull/5536#discussion_r341953879
########## File path: site2/docs/functions-develop.md ########## @@ -702,3 +716,192 @@ To access metrics created by Pulsar Functions, refer to [Monitoring](deploy-moni Pulsar Functions use [Apache BookKeeper](https://bookkeeper.apache.org) as a state storage interface. Pulsar installation, including the local standalone installation, includes deployment of BookKeeper bookies. Since Pulsar 2.1.0 release, Pulsar integrates with Apache BookKeeper [table service](https://docs.google.com/document/d/155xAwWv5IdOitHh1NVMEwCMGgB28M3FyMiQSxEpjE-Y/edit#heading=h.56rbh52koe3f) to store the `State` for functions. For example, a `WordCount` function can store its `counters` state into BookKeeper table service via Pulsar Functions State API. + +States are key-value pairs, where the key is a string and the value is arbitrary binary data - counters are stored as 64-bit big-endian binary values. Keys are scoped to an individual Pulsar function, and shared between instances of that function. Review comment: "Pulsar Function", "Pulsar Functions" are proper nouns in Pulsar docs. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
