From dev-return-111735-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Thu Feb 27 21:56:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 99895180181 for ; Thu, 27 Feb 2020 22:56:02 +0100 (CET) Received: (qmail 52476 invoked by uid 500); 27 Feb 2020 21:56:01 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 52462 invoked by uid 99); 27 Feb 2020 21:56:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2020 21:56:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9530EE12F2 for ; Thu, 27 Feb 2020 21:56:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1585E7803EE for ; Thu, 27 Feb 2020 21:56:00 +0000 (UTC) Date: Thu, 27 Feb 2020 21:56:00 +0000 (UTC) From: "Sanjana Kaundinya (Jira)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KAFKA-9621) AdminClient listOffsets operation does not respect retries and backoff MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sanjana Kaundinya created KAFKA-9621: ---------------------------------------- Summary: AdminClient listOffsets operation does not respect re= tries and backoff Key: KAFKA-9621 URL: https://issues.apache.org/jira/browse/KAFKA-9621 Project: Kafka Issue Type: Bug Components: admin Reporter: Sanjana Kaundinya Assignee: Cheng Tan Fix For: 2.6.0 Similar to=C2=A0https://issues.apache.org/jira/browse/KAFKA-9047, currently= the listOffsets operation doesn't respect the configured retries and backo= ff for a given call.=C2=A0 For example, the code path could go like so: 1) Make a metadata request and schedule subsequent list offsets calls 2) Metadata error comes back with `InvalidMetadataException` 3) Go back to 1 The problem here is that the state is not preserved across calls. We loose = the information regarding how many tries the call has been tried and how fa= r out we should schedule the call to try again. This could lead to a tight = retry loop and put pressure on the brokers. -- This message was sent by Atlassian Jira (v8.3.4#803005)