liangyuanpeng opened a new issue #11861:
URL: https://github.com/apache/pulsar/issues/11861
**Is your feature request related to a problem? Please describe.**
Now. function list API just return functions name and it's greate if return
more message:
- Running [true/false]
- workerId ""
- Restarts (from status.numRestarts)
like this,
| NAME | RUNNING | RESTARTS | WORKERID |
| ---- | ---- | ---- | ---- |
| first | true | 0 | c-standalone-fw-localhost-8080 |
| second | false | 10 | c-standalone-fw-localhost-8080 |
**Describe the solution you'd like**
**Describe alternatives you've considered**
**Additional context**
I am not familiar with function code, but if want implement this function
quickly and easily, Can process the code.
Request status API for every function name. I am not sure about that.
Componentlmpl#listFunctions
```
for (FunctionMetaData functionMetaData : functionStateList) {
if
(InstanceUtils.calculateSubjectType(functionMetaData.getFunctionDetails()).equals(componentType))
{
*** get status ***
retVals.add(functionMetaData.getFunctionDetails().getName());
}
}
```
--
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]