jerrypeng edited a comment on issue #1988: Fix: avoid closing RuntimeFactory 
when any function stops
URL: https://github.com/apache/incubator-pulsar/pull/1988#issuecomment-398620955
 
 
   Perhaps the easiest solution for now is to remove RuntimeFactory.close from 
RuntimeSpawner.close (as @rdhabalia has already done in the PR) and add 
RuntimeFactory.close to the JavaInstanceMain.close
   
   
https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/JavaInstanceMain.java#L225
   
   
https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/JavaInstanceMain.java#L293

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to