I would like to know, what is the maximum size of:
(1) a pulsar function? (which in the case of python at least, can be a
zip file)
(2) a pulsar function's user-config?
I know that pulsar messages are subject to a MaxMessageSize:
https://medium.com/streamnative/whats-new-in-apache-pulsar-2-4-0-d646f6727642
(aside: this doesn't seem to be mentioned in site2 documentation anywhere)
But are pulsar functions and user-config distributed through the cluster
via messages, and if so, are they subject to the same limit?
Reason: I want to install a python function with a large configuration
object (a liblognorm rulebase). If I can bundle the rulebase with the
function itself, or I can push it our via user-config, that would be
more convenient than building a separate infrastructure, e.g. the
function has to fetch it from a URL at startup.
Finally: it would be useful to know what happens when user-config is
updated. Does the running function pick up such changes in its context
object immediately? Is the function redeployed/restarted?
Thanks,
Brian.