Fluentd vs Kafka
<p>The use case is this:
I've several java applications running which all have to interact with different (each one has a specific target) elasticsearch indices. For instance an application A uses the indices A,B,C of ElasticSearch to query and update. Application B uses indices A,C,D(say). </p>

<p>Some common interface is required which can manage all these data streams. Currently I'm evaluating Kafka and fluentd for this purpose. 
Can someone explain which will be better suited for this situation. I've looked at features of both Kafka and Fluentd and I don't really understand the difference it would make here. 
Thanks a lot.</p>