Hi all,

I have a question about debugging a custom solr sink we wrote.

We can write a custom sink implementation, package it to a JAR, put it inside 
flume/lib folder, and refer to it in agent configuration to use with Flume.

But how can we just run Flume from the IDE and debug the custom sink in real 
time? We have a hard-to-trace bug in our custom sink implementation and doing 
trial and error, changing sink code, packaging and re-running it inside flume 
is too cumbersome.

It's possible to just call sink.start(), sink.configure() and sink.process() 
from the java code to test the custom sink, but in order to trace this bug, it 
should be inside flume context because I won't be calling the method as exactly 
as flume does or handle exceptions as exactly as flume does.

Regards

-- 
uyilmaz <uyil...@vivaldi.net>

Reply via email to