xche opened a new issue #9502:
URL: https://github.com/apache/pulsar/issues/9502


   **Describe the bug**
   Restart all instances of a Pulsar Source failed
   
   Runtime : Thread Runtime
   functionWorker number : 3
   Source task instances number: 6
   
   And  Each functionworker has 2 instances
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. When I call the 
"https://pulsar.apache.org/admin/v3/sources/{tenant}/{namespace}/{sourceName}/restart";
   2. See error "Failed to perform http post request: 
javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
   Function xxxx doesn't exist"
   
   The reason for this problem is that whether you restart source or sink or 
function, FunctionRuntimeManager call the API of functions to restart
   
   I think the correct way is to judge the componenttype and then call the 
corresponding API
   
   
   


----------------------------------------------------------------
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.

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


Reply via email to