Enable monitoring and you can get the channelFillPercentage and channelSize 
from the metrics:

VM arguments for http monitoring:
-Dflume.monitoring.type=http -Dflume.monitoring.port=12345

For JMX
-Dcom.sun.management.jmxremote.port=12346

or whatever port you choose.


________________________________
From: Buntu Dev [[email protected]]
Sent: Monday, November 02, 2015 4:33 PM
To: [email protected]
Subject: Determine the backlog in File channel

I got a File channel with HDFS sink. In the case when the sink slows down and 
event taken from the channel falls behind while the event puts continue at the 
same pace, how would one go about finding the amount of backlog or time it 
takes to clear the backlog?

Thanks!




This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use
of the intended recipient(s).  Any disclosure, copying, distribution,
posting, or use of the information contained in or attached to this
email is prohibited unless permitted by the sender.  If you have
received this email in error, please immediately notify the sender
via return email, telephone, or fax and destroy this original transmission
and its included files without reading or saving it in any manner.
Thank you.

Reply via email to