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

Add consumer.close(timeout, unit) for graceful close with timeout

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.10.2.0
    • Component/s: consumer
    • Labels:
      None

      Description

      KAFKA-3703 implements graceful close of consumers with a hard-coded timeout of 5 seconds. For consistency with the producer, add a close method with configurable timeout for Consumer.

      public void close(long timeout, TimeUnit unit);

      Since this is a public interface change, this change requires a KIP.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsivaram Rajini Sivaram
                Reporter:
                rsivaram Rajini Sivaram
                Reviewer:
                Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: