tpiperatgod opened a new issue, #18903: URL: https://github.com/apache/pulsar/issues/18903
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation Make pulsar python functions support to set `processingGuarantees` to `EFFECTIVELY_ONCE` ### Solution according to this [docs](https://pulsar.apache.org/docs/next/functions-concepts/#processing-guarantees-and-subscription-types), when the `processingGuarantees` is `EFFECTIVELY_ONCE`, we need to set the subscription type to `failover`. ```python if self.instance_config.function_details.processingGuarantees == Function_pb2.EFFECTIVELY_ONCE: mode = pulsar._pulsar.ConsumerType.Failover ``` ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org