Member since
03-02-2015
6
Posts
0
Kudos Received
0
Solutions
10-01-2018
10:08 AM
1 Kudo
flume-ng agent -n a1 -f flume_config.conf -Xms1024m -Xmx204800m There shouldn't be an equals sign after -Xmx
... View more
12-05-2016
12:18 PM
Hello Tristan Thanks a lot for your response, as you said, the issue was on the batchSize configuration of the kafka sink. Given that i only expected a couple of messages per second, having a batchsize of 10 was not needed. Putting the batch Size equal to 1 solved the "latency" I was seeing. I guess that if the messages arrive at a rate of thousands per second, having a larger batchSize could be much more efficient. At the end I guess it was more of a problem of type PEBKAC than Flume's problem haha! 😛 Just to let you know, I'm using a somewhat "older" distribution (CDH 5.5), so I don't have the newer performance improvements you linked me, however, the problem was removed changing the batchSize configuration as I said before. We are planing to upgrade our distribution in the coming months so I hope to use the newer performance enhancements soon!. Again, thanks a lot for your help and have a nice day! Rafa
... View more