Ah. yeah. I just saw that.  I wrote a test for it and it triggered the log
line.  I might look at that line and try to figure out the best way to
track that?  Maybe a JMX integer that’s integrated for each time it
happens?

I might not need it in the short term but probably will in the long term.
If there’s no other way to do it and I get caught up in my patches I’ll try
to create one.

On Fri, Apr 17, 2015 at 5:06 AM, Tim Bain <tb...@alumni.duke.edu> wrote:

> There's a log line in the broker whenever PFC kicks in; we watched the logs
> for that line and fire off an email to get someone to investigate.  Would
> that meet your needs?
> On Apr 16, 2015 10:10 PM, "Kevin Burton" <bur...@spinn3r.com> wrote:
>
> > I’m looking at implementing producer flow control so that I don’t fill up
> > the queues on my broker.
> >
> > It doesn’t look like there’s any way I can see that a client is blocking,
> > waiting for resources to be released.
> >
> > Maybe one strategy could be to put a stopwatch around each send() and
> then
> > I can see that I have some outstanding that have been open for a long
> time.
> >
> >
> > --
> >
> > Founder/CEO Spinn3r.com
> > Location: *San Francisco, CA*
> > blog: http://burtonator.wordpress.com
> > … or check out my Google+ profile
> > <https://plus.google.com/102718274791889610666/posts>
> > <http://spinn3r.com>
> >
>



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to