have you tried increasing max spout pending parameter for the spout?

                       new KafkaSpout(spoutConfig),
          //the maximum parallelism you can have on a KafkaSpout is the number of partitions

Andrey Yegorov

On Tue, Feb 3, 2015 at 4:03 AM, clay teahouse <clayteahouse@gmail.com> wrote:
Hi all,

In my topology,  kafka spout is responsible for over 85% of the latency. I have tried different spout max pending and played with the buffer size and fetch size, still no luck. Any hint on how to optimize the spout? The issue doesn't seem to be with the kafka side, as I see high throughput with the simple kafka consumer.

thank you for your feedback