title: Why do we need kafka to feed data to apache spark
body: <p>I am reading about <code>spark</code> and its <code>real-time stream</code> processing.I am confused that If <code>spark</code> can itself read stream from source such as <strong>twitter</strong> or <strong>file</strong>, then Why do we need <code>kafka</code> to feed data to <code>spark</code>? It would be great if someone explains me what advantage we get if we use <code>spark</code> with <code>kafka</code>. Thank you.</p>