title: How to limit number of records in Kafka-consumer
body: <p>I am using confluent <a href="https://github.com/confluentinc/kafka-rest" rel="nofollow noreferrer">Kafka-rest</a> product to consume records from a topic. My intention is to consume only first 100 records from topic. I am using the following REST API to fetch records </p>
  
  <pre><code>GET /consumers/testgroup/instances/my_consumer/records
  </code></pre>
  
  <p>How to achieve this? Any idea?</p>