New RunLLM response generated:
>>>*# Question*
Hi Folks, I was exploring Apache Pulsar functions. From the
documentation, we seem to use Apache Bookkeeper as the state storage interface.
Couple of questions on the state storage for pulsar functions:
1\ Do we have any upper limit on the storage allocated for the pulsar function state storage?
2\ Do we have a tiered storage paradigm even for the pulsar function state storage similar to the event stream storage?
TIA.
# Answer
It could be possible that there is no explicit upper limit on the storage allocated for Pulsar Function state storage, as state is stored in Apache BookKeeper, which is designed to scale horizontally and handle large volumes of data. However, practical limits would depend on your BookKeeper cluster's capacity and configuration, but no hard quota is enforced by Pulsar itself for function state storage according to the documentation I found (
functions-develop-state,
BookKeeper overview).
Though I'm not entirely certain, it might be that tiered storage (offloading to S3, GCS, etc.) is not available for Pulsar Function state storage. Tiered storage in Pulsar is designed for event/backlog data in topics, not for the key-value state tables used by functions (
tiered-storage-overview,
functions-develop-state). Would you like more detail on how state storage works or how to monitor its usage?
Sources:
-
functions-develop-state
-
BookKeeper overview
-
tiered-storage-overview
Slack Link
https://apache-pulsar.slack.com/archives/C5Z4T36F7/p1762357724.570909 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.