kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Noll <mich...@confluent.io>
Subject Re: puncutuate() never called
Date Mon, 10 Oct 2016 06:55:24 GMT
> We have run the application (and have confirmed data is being received)
for over 30 mins…with a 60-second timer.

Ok, so your app does receive data but punctuate() still isn't being called.
:-(


> So, do we need to just rebuild our cluster with bigger machines?

That's worth trying out.  See
http://www.confluent.io/blog/design-and-deployment-considerations-for-deploying-apache-kafka-on-aws/
for some EC2 instance types recommendations.

But I'd also suggest to look into the logs of (1) your application, (2) the
log files of the Kafka broker(s), and (3) the log files of ZooKeeper to see
whether you see anything suspicious?

Sorry for not being able to provide more actionable feedback at this
point.  Typically we have seen such issues only (but not exclusively) in
cases where there have been problems in the environment in which your
application is running and/or the environment of the Kafka clusters.
Unfortunately these environment problems are a bit tricky to debug remotely
via the mailing list.

-Michael





On Fri, Oct 7, 2016 at 8:11 PM, David Garcia <davidg@spiceworks.com> wrote:

> Yeah, this is possible.  We have run the application (and have confirmed
> data is being received) for over 30 mins…with a 60-second timer.  So, do we
> need to just rebuild our cluster with bigger machines?
>
> -David
>
> On 10/7/16, 11:18 AM, "Michael Noll" <michael@confluent.io> wrote:
>
>     David,
>
>     punctuate() is still data-driven at this point, even when you're using
> the
>     WallClock timestamp extractor.
>
>     To use an example: Imagine you have configured punctuate() to be run
> every
>     5 seconds.  If there's no data being received for a minute, then
> punctuate
>     won't be called -- even though you probably would have expected this to
>     happen 12 times during this 1 minute.
>
>     (FWIW, there's an ongoing discussion to improve punctuate(), part of
> which
>     is motivated by the current behavior that arguably is not very
> intuitive to
>     many users.)
>
>     Could this be the problem you're seeing?  See also the related
> discussion
>     at
>     http://stackoverflow.com/questions/39535201/kafka-problems-with-
> timestampextractor
>     .
>
>
>
>
>
>
>     On Fri, Oct 7, 2016 at 6:07 PM, David Garcia <davidg@spiceworks.com>
> wrote:
>
>     > Hello, I’m sure this question has been asked many times.
>     > We have a test-cluster (confluent 3.0.0 release) of 3 aws
> m4.xlarges.  We
>     > have an application that needs to use the punctuate() function to do
> some
>     > work on a regular interval.  We are using the WallClock extractor.
>     > Unfortunately, the method is never called.  I have checked the
>     > filedescriptor setting for both the user as well as the process, and
>     > everything seems to be fine.  Is this a known bug, or is there
> something
>     > obvious I’m missing?
>     >
>     > One note, the application used to work on this cluster, but now it’s
> not
>     > working.  Not really sure what is going on?
>     >
>     > -David
>     >
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message