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 [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5276B1788F for ; Sun, 8 Feb 2015 18:26:23 +0000 (UTC) Received: (qmail 88709 invoked by uid 500); 8 Feb 2015 18:26:21 -0000 Delivered-To: apmail-kafka-users-archive@kafka.apache.org Received: (qmail 88657 invoked by uid 500); 8 Feb 2015 18:26:21 -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 88630 invoked by uid 99); 8 Feb 2015 18:26:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2015 18:26:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jay.kreps@gmail.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2015 18:26:15 +0000 Received: by mail-we0-f181.google.com with SMTP id w62so5384720wes.12; Sun, 08 Feb 2015 10:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lqenLUUo7Ni8XKI75DW7WKB/qGbwwljANihhagZTn2k=; b=vewdsjfeHXDvxQwHwkLlsHIWaoPDfQwFkLDaw1s7+46uFdCASwEUjhHafLH5lAQBHT Gl6LjoBuY4ZhaLr+q6cLP+Du+rR0/zwBkvQqRrJRh0NNZdqeRea2gDAdNqMxL1nyGs1+ 24vTFHHNnmtamHTLx8qpPdpS6LyqhG0cruK06PIUGhNW3yJagqc3B123Pzt/nEc6F5zD dZl+UTrjyt27SyM/fzhqfQQCO8I59dontToo4jIaZFKgWXE9OiX8cpgKkVP39pF9Pow2 lNgDkcdrB5iA4reafq52W/gdpAoiIwqsA1foJynNOASn0oTuMPwZGfDEMo26HRx3f4Yg Bh8A== MIME-Version: 1.0 X-Received: by 10.180.76.113 with SMTP id j17mr10112871wiw.75.1423419954354; Sun, 08 Feb 2015 10:25:54 -0800 (PST) Received: by 10.27.221.71 with HTTP; Sun, 8 Feb 2015 10:25:54 -0800 (PST) Date: Sun, 8 Feb 2015 10:25:54 -0800 Message-ID: Subject: [DISCUSS] KIP-8 Add a flush method to the new Java producer From: Jay Kreps To: "dev@kafka.apache.org" , "users@kafka.apache.org" Content-Type: multipart/alternative; boundary=f46d0435bff8bee041050e97c8fc X-Virus-Checked: Checked by ClamAV on apache.org --f46d0435bff8bee041050e97c8fc Content-Type: text/plain; charset=UTF-8 Following up on our previous thread on making batch send a little easier, here is a concrete proposal to add a flush() method to the producer: https://cwiki.apache.org/confluence/display/KAFKA/KIP-8+-+Add+a+flush+method+to+the+producer+API A proposed implementation is here: https://issues.apache.org/jira/browse/KAFKA-1865 Thoughts? -Jay --f46d0435bff8bee041050e97c8fc--