lhotari opened a new issue, #24295:
URL: https://github.com/apache/pulsar/issues/24295

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Read release policy
   
   - [x] I understand that [unsupported 
versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions)
 don't get bug fixes. I will attempt to reproduce the issue on a supported 
version of Pulsar client and Pulsar broker.
   
   
   ### User environment
   
   Broker: 4.0.4
   Using Docker image apachepulsar/pulsar:4.0.4
   
   
   ### Issue Description
   
   There's a SyntaxWarning that gets printed to logs
   
   
   ### Error messages
   
   ```text
   2025-05-13T12:36:07,251+0000 [function-timer-thread-116-1] INFO  
org.apache.pulsar.functions.runtime.process.ProcessRuntime - Started process 
successfully
   /pulsar/instances/python-instance/contextimpl.py:213: SyntaxWarning: invalid 
escape sequence '\d'
     m = re.search('(.+)-partition-(\d+)', topic)
   ```
   
   ### Reproducing the issue
   
   Start Pulsar standalone
   
   ```shell
   docker run --rm -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:latest 
/pulsar/bin/pulsar standalone
   ```
   
   Then register a Pulsar Python Function. The error will appear in logs.
   
   
   ### Additional information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to