[Python-Pulsar]Cannot use pulsar function with a python file
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Describe the bug**
The pulsar function doesn't work with python file (localrun), I totally follow the steps on official website. The function can be created but not work.
**To Reproduce**
Steps to reproduce the behavior:
1. Just download the ExclamationFunction.py
2. Upload to pulsar server
3. Use the cmd to localrun the funtion " ./pulsar-admin functions localrun \
--classname ExclamationFunction \
--py /pulsar/ExclamationFunction.py \
--inputs input \
--output output \
--tenant public \
--namespace default --name PythonFuncName"
5. See error
**Screenshots**

**Desktop (please complete the following information):**
- OS: Windows
-
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Start by reproducing the failure with ExclamationFunction.py and the provided pulsar-admin functions localrun command on Windows. Read the resulting error and trace the Python function local-run path; done means the documented command runs the function successfully with the input and output topics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100