A few questions about state storage <https://pulsar.apache.org/docs/en/next/functions-develop/#state-storage> in pulsar functions.

(1) When I do putState("foo", val), what's the scope of the name "foo"?  Just this function, or all functions in this tenant/namespace, or something else?

In other words, if I write a separate function which does getState("foo") does it access the same value or not?  What about functions in a different namespace or a different tenant?

(2) Is getState("foo") distinct from getCounter("foo"), or do they share the same namespace?

(3) Is there a CLI tool which can be used to examine state?  Or do I have to write a pulsar function and send queries to it via a topic?

Thanks,

Brian.

Reply via email to