title: DynamoDB Webflux Pagination
body: <p>How to get all the results in DynamodB on a global secondary index using Webflux? The Below code only gives me 1700 results, my table has 20k results?</p>
  <p>var queryConditional =
  QueryConditional.keyEqualTo(Key.builder().partitionValue(status).build());
  var index = dynamoDbAsyncTable.index(Attributes.STATUS);</p>
  <pre><code>Mono&lt;Page&lt;Table&gt;&gt; results =
          Mono.from(
                  index.query(QueryEnhancedRequest.builder()
                                  .queryConditional(queryConditional).build()));
  
  
  return results.map(
          page -&gt; page.items().stream().map(Table::toCourier).collect(Collectors.toSet()));
  </code></pre>