[ 
https://issues.apache.org/jira/browse/GOBBLIN-1355?focusedWorklogId=534119&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534119
 ]

ASF GitHub Bot logged work on GOBBLIN-1355:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jan/21 04:28
            Start Date: 11/Jan/21 04:28
    Worklog Time Spent: 10m 
      Work Description: asfgit closed pull request #3195:
URL: https://github.com/apache/incubator-gobblin/pull/3195


   


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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 534119)
    Time Spent: 1h 20m  (was: 1h 10m)

> Make task interruption optional on Gobblin task cancellation
> ------------------------------------------------------------
>
>                 Key: GOBBLIN-1355
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1355
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-core
>    Affects Versions: 0.16.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Abhishek Tiwari
>            Priority: Major
>             Fix For: 0.16.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Currently, the thread running a Gobblin task is interrupted when a task 
> cancellation is invoked. When such a task is managing a Kafka consumer for 
> instance, the interrupt leaves the consumer instance in a corrupt state, 
> particularly if the consumer is in the middle of a poll() when the interrupt 
> occurs. This in turn prevents the subsequent clean up of the consumer 
> instance resulting in a potential resource leak. 
> With this change, we provide the option to avoid interrupting the thread in 
> aforementioned scenarios and let the poll() return before the thread is 
> shutdown. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to