From users-return-38627-apmail-kafka-users-archive=kafka.apache.org@kafka.apache.org Sun Nov 3 15:40:51 2019 Return-Path: X-Original-To: apmail-kafka-users-archive@www.apache.org Delivered-To: apmail-kafka-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 481AE10CD1 for ; Sun, 3 Nov 2019 15:40:51 +0000 (UTC) Received: (qmail 84279 invoked by uid 500); 3 Nov 2019 15:40:40 -0000 Delivered-To: apmail-kafka-users-archive@kafka.apache.org Received: (qmail 84215 invoked by uid 500); 3 Nov 2019 15:40:40 -0000 Mailing-List: contact users-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@kafka.apache.org Delivered-To: mailing list users@kafka.apache.org Received: (qmail 84202 invoked by uid 99); 3 Nov 2019 15:40:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Nov 2019 15:40:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 836F71A413B for ; Sun, 3 Nov 2019 15:40:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Zz-3CXyEH90M for ; Sun, 3 Nov 2019 15:40:38 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.66; helo=mail-io1-f66.google.com; envelope-from=vishal.santoshi@gmail.com; receiver= Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id E6F3DBC56D for ; Sun, 3 Nov 2019 15:40:37 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id n17so15831174ioa.0 for ; Sun, 03 Nov 2019 07:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pOjppTCOMOUYV5RUp9cCnEWGYbL73+Qwio06ufah3iA=; b=qA8D922v9nkUsqIjkq2QIFTXeP4kEJUcE785awm6/mPR2a6tdLJXoHnHPF8tlhBXPJ fcB5N3FhTFr13OrWWCTCwqBqPm8ypMF57Hjq+b8D1vanqHDvrsuFolIOGfdufGaLiAtp Qw/6NU8CIMBOE9RBH64TUWqI++n16ZGJpFLhPbLeuD7Nxqnh9ThAfqGFobPMU20X0/mr R4VnB+/n8doet6txs0IJY+IOE8p+V9XMaRqhbmK2b1UWloi4M6KrmAk48x0e8T3EqpTe bd0jacR9626QiZcmBz8x55qzHgIOhEHGS41Cy/ksP5YIOsWq9tWt7qOS0UJdCiK6VZBp rTAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pOjppTCOMOUYV5RUp9cCnEWGYbL73+Qwio06ufah3iA=; b=J2INx1k9Dll/+FbGtgLfnSYJkPnCQYuuSmh/Gx6uAawhiRuuvZ47IxoDBWQSK13FEq +ppwZR5vesY01TaZoZ683A/IW7JqutYNiBdOD9ETnsXOkUyxYnMYkby2v9DQyHIY6ARE bQehnLFU6QlcGgWlR/d/e6Xn38LdZsJ1vfsmZyECDvVm4P7oZ4yKSJrgqDmZw+FH/pFC fKVPbcSWvKpmtLBCci3nVpc+XIDQjVcw49IHIb5fzqkgxXhLmu+E88AqUhVpmDsQ7p2h L/HOllvfXHM6wwtcLFtmB8WNEBymzJsdKeRgNCDLmHl7cUUiaMEE+VEhOfV2y8aGxHuW owfQ== X-Gm-Message-State: APjAAAVMOHbC+X+pEC8bYZE369K3J3Eh2S7B+8e9Kxxs9fwBL1TeD/wC nru1OLiGfXpFOkGMTXatt1bLmNPbFcFNGxFpNnL/dcc4 X-Google-Smtp-Source: APXvYqxRFb89B2XwpJAOKrBvBzWDkvb8Vva9KLH5kXpZytW83TFArccJRUglNgkpc5xT7u+pihM9/dqrzcJfmkR/bQg= X-Received: by 2002:a5d:84c6:: with SMTP id z6mr19853996ior.165.1572795637078; Sun, 03 Nov 2019 07:40:37 -0800 (PST) MIME-Version: 1.0 From: Vishal Santoshi Date: Sun, 3 Nov 2019 10:40:26 -0500 Message-ID: Subject: MirrorMaker 2.0 ( working off origin/2.4 ) To: users@kafka.apache.org Content-Type: multipart/alternative; boundary="00000000000040a06c0596730550" --00000000000040a06c0596730550 Content-Type: text/plain; charset="UTF-8" Hello folks, Was doing stress tests and realized that the replication to the target cluster and thus the configuration of the KafkaProducer has a default acks of -1 ( all ) and that was prohibitively expensive. It should have been a simple a->b.producer.acks = 1 ( or b.producer.acks = 1 or acks = 1, have tried all ) override in the mm2.properties, but it does not take. I verified by turning on TRACE and a little instrumenting the code to print out the acks . https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java#L806 . Am I missing something? Regards --00000000000040a06c0596730550--