Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5324

AdminClient: add close with timeout, fix some timeout bugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.0
    • 0.11.0.0
    • admin
    • None

    Description

      • Add a close method with a timeout, similar to some other APIs. Close waits for all calls to complete. Once the timeout expires, all calls are aborted.
      • Fix a minor bug which made it impossible to have per-call timeouts which were longer than the default timeout.
      • Fix a minor bug where we could oversleep short timeouts because we didn't adjust the polling interval based on the extant timeouts.
      • Add some unit tests for timeouts

      Attachments

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: