apache/pulsar
View on GitHub[Python-Pulsar]Cannot use pulsar function with a python file
Open
#14,698 opened on Mar 16, 2022
Stalehelp wantedlifecycle/staletype/bug
Repository metrics
- Stars
- (13,697 stars)
- PR merge metrics
- (Avg merge 3d 10h) (146 merged PRs in 30d)
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:
- Just download the ExclamationFunction.py
- Upload to pulsar server
- 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" - See error
Screenshots

Desktop (please complete the following information):
- OS: Windows
Additional context Add any other context about the problem here.