title: How can I retry failure messages from kafka?
body: <p>My <code>spring-boot application(consumer)</code> process messages from <code>Apache Kafka</code>. Periodically, massage can't process and consumer throw exception. Consumer commits offset anyway. 
   Can I distinguish success messages from failure messages in Kafka? I think, I can't. Is it true? If it is true, I have the main question:</p>
  
  <p>How can I retry <strong>failure messages</strong>? I know some ways but I'm not sure of their correctness. </p>
  
  <p>1) Change offset to early. But in this way success messages will retry too. </p>
  
  <p>2) When I catch an exception, I send this message to another topic(error-topic 
  for example).  But it looks difficult.</p>
  
  <p>3) Something else(your variant)</p>