[ 
https://issues.apache.org/jira/browse/FLUME-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337941#comment-14337941
 ] 

Hari Shreedharan commented on FLUME-2613:
-----------------------------------------

I think the logic is exactly the same as current in the tool - loop through the 
events, but for each event instead of verifying the checksum run the custom 
code. So I think all you need is an interface with one method boolean 
verify(Event e). If that returns false, mark as NOOP, else just keep moving.

> Tool/script for deleting individual message from queue
> ------------------------------------------------------
>
>                 Key: FLUME-2613
>                 URL: https://issues.apache.org/jira/browse/FLUME-2613
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Charles McLaughlin
>            Assignee: Ashish Paliwal
>            Priority: Minor
>
> We had a situation where one of our Flume agents got stuck on a message due 
> to unexpected format.  To get things moving again, I stopped the Flume agent, 
> moved the file backed channel data out of the way and re-started the Flume 
> agent.  I'd like to pop the bad message from the queue data on disk and 
> ideally there would be a recommended tool/script.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to