apache/pulsar

[Python-Pulsar]Cannot use pulsar function with a python file

Open

#14.698 geöffnet am 16. März 2022

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (3.485 Forks)batch import
Stalehelp wantedlifecycle/staletype/bug

Repository-Metriken

Stars
 (13.697 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 10h) (146 gemergte PRs in 30 T)

Beschreibung

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"
  4. See error

Screenshots 1d4633c4bcea8f1abbd21775a78045c

Desktop (please complete the following information):

  • OS: Windows

Additional context Add any other context about the problem here.

Contributor Guide