Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2523

Make task canceling interrupt interval configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 1.0.0
    • Runtime / Coordination
    • None

    Description

      When a task is canceled, the cancellation calls periodically "interrupt()" on the task thread, if the task thread does not cancel with a certain time.

      Currently, this value is hard coded to 10 seconds. We should make that time configurable.

      Until then, I would like to increase the value to 30 seconds, as many tasks (here I am observing it for Kafka consumers) can take longer then 10 seconds for proper cleanup.

      Attachments

        Activity

          People

            kkl0u Kostas Kloudas
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: