Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C0D5200D03 for ; Sat, 9 Sep 2017 10:21:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4AA531609E8; Sat, 9 Sep 2017 08:21:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 914121609DA for ; Sat, 9 Sep 2017 10:21:10 +0200 (CEST) Received: (qmail 7030 invoked by uid 500); 9 Sep 2017 08:21:09 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 7019 invoked by uid 99); 9 Sep 2017 08:21:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Sep 2017 08:21:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 31FB518D395 for ; Sat, 9 Sep 2017 08:21:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3qjsscHiM4JA for ; Sat, 9 Sep 2017 08:21:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8416761037 for ; Sat, 9 Sep 2017 08:21:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 62E96E0ED3 for ; Sat, 9 Sep 2017 08:21:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 58FA024166 for ; Sat, 9 Sep 2017 08:21:02 +0000 (UTC) Date: Sat, 9 Sep 2017 08:21:02 +0000 (UTC) From: "Ryan Worsley (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5825) Streams not processing when exactly once is set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 09 Sep 2017 08:21:11 -0000 [ https://issues.apache.org/jira/browse/KAFKA-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159834#comment-16159834 ] Ryan Worsley commented on KAFKA-5825: ------------------------------------- Hi [~guozhang] did you use the SBT file to satisfy the dependencies? I'll post the full server logs as soon as I can. > Streams not processing when exactly once is set > ----------------------------------------------- > > Key: KAFKA-5825 > URL: https://issues.apache.org/jira/browse/KAFKA-5825 > Project: Kafka > Issue Type: Bug > Components: streams > Affects Versions: 0.11.0.0 > Environment: EmbeddedKafka running on Windows. Relevant files attached. > Reporter: Ryan Worsley > Attachments: build.sbt, log4j.properties, Tests.scala > > > +Set-up+ > I'm using [EmbeddedKafka|https://github.com/manub/scalatest-embedded-kafka/] for ScalaTest. > This spins up a single broker internally on a random port. > I've written two tests - the first without transactions, the second with. They're nearly identical apart from the config and the transactional semantics. I've written the transactional version based on Neha's [blog|https://www.confluent.io/blog/exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it/] which is the closest thing I could find to instructions. > The tests wait until a single message is processed by the streams topology, they use this message to complete a promise that the test is waiting on. Once the promise completes the test verifies the value of the promise as being the expected value of the message. > +Observed behaviour+ > The first test passes fine, the second test times out, the stream processor never seems to read the transactional message. > +Notes+ > I've attached my build.sbt, log4j.properties and my Tests.scala file in order to make it as easy as possible for someone to re-create. I'm running on Windows and using Scala as this reflects my workplace. I completely expect there to be some configuration issue that's causing this, but am unable to proceed at this time. > Related information: https://github.com/manub/scalatest-embedded-kafka/issues/82 -- This message was sent by Atlassian JIRA (v6.4.14#64029)