title: Is there a way with kafka-node to request a received messages after a crash?
body: <p>I been looking at the docks and now wondering if this is even a feature of kafka or node-kafka.</p>
  
  <p>So my consumer receives a message from kafka, and while I process the message, I like to mark it as if I didn't get it until I completed processing it. This way, if the server crashes while processing, I can reconnect and received the messages that my application received prior to the crash it was working on.</p>
  
  <p>High level example.</p>
  
  <ol>
  <li>Kafka message is a user id;</li>
  <li>Once received, I get user info from the database.</li>
  <li>I send an email to the user.</li>
  <li>When the email is sent. I log it to the database.</li>
  <li>I mark message complete. (I'm not sure if this step is possible)</li>
  </ol>
  
  <p>This way, if any of the steps crashes before step five, when the server is back up, it receives the failed message again.</p>
  
  <p>I'm using node.js <code>LTS 8.10.0</code> and the npm package <code>kafka-node@2.4.1</code></p>