You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/16 16:47:00 UTC

[GitHub] [pulsar] bharanic-dev opened a new issue #11678: Pulsar functions terminateFunction doesn't clean up intermediate topics created for batchSource.

bharanic-dev opened a new issue #11678:
URL: https://github.com/apache/pulsar/issues/11678


   **Describe the bug**
   The cleanupBatchSource() tries to delete the intermediate topic here:
   
   https://github.com/apache/pulsar/blob/b8dce10a88cc186897fa600f3595b10c4af61b8c/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/FunctionActioner.java#L642
   
   But the topic does not get cleaned up because of a bug in the Actions.run() function here (when continueOn is not set):
   
   https://github.com/apache/pulsar/blob/b8dce10a88cc186897fa600f3595b10c4af61b8c/pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/utils/Actions.java#L97
   
   **To Reproduce**
   - create a batchsource function worker.
   - observe the intermediate topics getting created.
   - delete the function worker.
   - the intermediate topic does not get deleted.
   
   **Expected behavior**
   The intermediate topics should get deleted.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jerrypeng closed issue #11678: Pulsar functions terminateFunction doesn't clean up intermediate topics created for batchSource.

Posted by GitBox <gi...@apache.org>.
jerrypeng closed issue #11678:
URL: https://github.com/apache/pulsar/issues/11678


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jerrypeng closed issue #11678: Pulsar functions terminateFunction doesn't clean up intermediate topics created for batchSource.

Posted by GitBox <gi...@apache.org>.
jerrypeng closed issue #11678:
URL: https://github.com/apache/pulsar/issues/11678


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org