title: Spring Data Cassandra gigabytes of data findAll() approach
body: <p>I know this has been asked before, but Spring Data is growing a lot with time.</p>
  
  <p>How would you implement a findAll() that returns millions of rows?
  I know Spring Data has stream API, even though I'm not exactly sure if it would be safe with so much data. From my understanding, this is not going to retrieve all data at once, but while processing it.</p>
  
  <pre><code>Stream&lt;T&gt; streamAllBy...(...);
  </code></pre>
  
  <p>Also, a second approach would be this, only downside would be that I have to deal manually with pagination.</p>
  
  <pre><code>Slice&lt;T&gt; findAllBy...(..., Pageable pageable)
  </code></pre>
  
  <p>Any ideas?</p>