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: [email protected]

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


Reply via email to