From dev-return-115905-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Tue Jun 30 22:22:42 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 A58C4180643 for ; Wed, 1 Jul 2020 00:22:41 +0200 (CEST) Received: (qmail 71455 invoked by uid 500); 30 Jun 2020 22:22:40 -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 71443 invoked by uid 99); 30 Jun 2020 22:22: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; Tue, 30 Jun 2020 22:22: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 530631A3341 for ; Tue, 30 Jun 2020 22:22:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 0IQ2qp6-2OC2 for ; Tue, 30 Jun 2020 22:22:38 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.177; helo=mail-qt1-f177.google.com; envelope-from=saher.ahwal@gmail.com; receiver= Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id E44B1BB8FA for ; Tue, 30 Jun 2020 22:22:37 +0000 (UTC) Received: by mail-qt1-f177.google.com with SMTP id j10so16918972qtq.11 for ; Tue, 30 Jun 2020 15:22:37 -0700 (PDT) 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=3Dljvu3bP9HT+bUR7uFg0J/YdhT5ABcWiTnKiLA2exA=; b=Kx2ZNERH9NrWbyhLNAtQBZknoV3J7Fj9A0e2bupyMMB20U8+50T508I4r5IT0lFcoI JU61BY94rqU7SWD/Hv/ULZr71eaFB6uVcUm77qlNjjaFYuVzgzq/azH+TDDj7sfLXlT/ ncwGee6q9P853gCosSmctWWARK3y8iS3QuHHsEOjrRz0Q5Q66tBXQqqyWnLXF+397N0Z 4pH27q0cFN30edkqvQxGOsnp2fwRR3NwCOND4Ab/LNgqce0kZt9Mwv8zZRCMmjWCsvsP N4aAp+qXgPC/Jzs9zYKNwCx9Gn0GQbY/MkpVlAe6qs/bHxgcwYzjuFL0l9HdKf+AMD+K dURg== 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=3Dljvu3bP9HT+bUR7uFg0J/YdhT5ABcWiTnKiLA2exA=; b=d/hhx3L7Q1heYQemQPMFBAa1odHbLKLYvC7BIAN5tmOM8ZucIYZllgJ75Rtxqu9atI I92wN/avq2jYPu/4Z389XV8ifunPj1uR/HN6cmNSpHT8EpMnEfyyYtOlog8R1Frz7LCX LFP2pMsGOA+6QiMjsGV2KcbbzYGsHfX/xB7A180moL2vuQXJ7TdNpgid6cZdMKNPOhLv VEvXuOm6mhXogI+TT/C/meqCL4v7DCxAgu9BgLlTXWAiD4uzqSM+0yJAxim9Ve1lSoRP mxF0U3YBNXhxKrSq0YL2wWQOBc0khaAXNxHF6Y5Uo3gL03FkkIMrnrdGrom1TIpJAgV2 mU/A== X-Gm-Message-State: AOAM533KbELeSaWhv6GvbOGVjuzb0i8Vx+6V4OlUPe05pjYQEsHgEmzU UtrB3jbQOtFu2gI7MdVtfg7HQtog2jk74n17zi4sIi5A3kY= X-Google-Smtp-Source: ABdhPJxlFNxAh+SpqECw9IGrG8Xg7xR03DN4f1MnBL6nykKu5bF8xMGdTLSPS19wi6jvi3swr3Wc3cNf+DNCSjkdbQU= X-Received: by 2002:aed:2987:: with SMTP id o7mr4644818qtd.385.1593555757048; Tue, 30 Jun 2020 15:22:37 -0700 (PDT) MIME-Version: 1.0 From: Saher Ahwal Date: Tue, 30 Jun 2020 15:22:25 -0700 Message-ID: Subject: Kafka Exactly-Once Semantics in .NET support To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary="000000000000d4285f05a9549cb7" --000000000000d4285f05a9549cb7 Content-Type: text/plain; charset="UTF-8" Hi I am working on exactly-once semantics with Kafka and I have streaming scenario of read-process-write. I noticed the new exactly-once scalability design with correctness in case of partition reassignment here: https://docs.google.com/document/d/1LhzHGeX7_Lay4xvrEXxfciuDWATjpUXQhrEIkph9qRE/edit# It all looks great and I understand we need to rely on PendingTransatcionException and ProducerFencedException. However, we are using confluent library and .NET and I don't see any of these exceptions. How do I ensure correctness of fencing of zombie producer transactions when using .NET confluent library? What exceptions are retry-able and what are not? Can I call abortTransaction on any Kafka exception ? I don't find good examples in the documentation. Any pointers or answers are kindly appreciated. Thanks in advance Saher -- *Saher Ahwal* *Massachusetts Institute of Technology '13, '14* *Department of Electrical Engineering and Computer Science* *saher@alum.mit.edu | 617 680 4877* --000000000000d4285f05a9549cb7--