Skip to main content

split_function_id

Function split_function_id 

Source
pub fn split_function_id(id: &str) -> Result<(&str, &str, &str), AdminError>
Expand description

Split a tenant/namespace/name Functions / IO identifier into its three segments. Pulsar Functions never carry a persistent:// scheme prefix (functions are not topics), so the parser is stricter than the internal split_topic (rustdoc cannot resolve the bare identifier because split_topic is module-private).

Exposed for the CLI, which parses the fully qualified name out of a single positional argument before calling the admin methods (which take tenant, namespace, name separately so the broker’s per-segment validation maps 1:1 to the URL path).