Skip to main content
Version: 0.5.0

Customizable options

To facilitate submitting Pulsar functions based on your requirements, Function Mesh Worker service provides some customizable options.

NameTypeDefaultTrustedOnlyDescription
clusterNameStringN/ANoThe Pulsar cluster of a Pulsar function, source, or sink.
inputTypeClassNameString[BNoThe map of input topics to Java class names.
outputTypeClassNameString[BNoThe map of output topics to Java class names.
maxReplicasInteger0NoThe maximum number of Pulsar instances that you want to run for this Pulsar Function. When the value of the maxReplicas parameter is greater than the value of replicas, it indicates that the Functions controller automatically scales the Pulsar Functions based on the CPU usage. By default, maxReplicas is set to 0, which indicates that auto-scaling is disabled.
envMap < String, String >N/ANoThe environment variables being attached to a Pod that is created by the Function Mesh Operator for the cluster.
managedBooleantrueYesConfigure whether a Function, source, or sink can be managed or unmanaged.
serviceAccountNameStringN/AYesThe name of the service account that is used to run Pulsar Functions or connectors in the Function Mesh Worker service.
runnerImageStringN/AYesThe runner image to run the Pulsar Function instances.