Vorlage
[demos/kafka/training] / src / main / java / de / juplo / kafka / SimpleConsumer.java
index cea9568..82d6794 100644 (file)
@@ -56,8 +56,7 @@ public class SimpleConsumer implements Callable<Integer>
     }
     catch(Exception e)
     {
-      log.error("{} - Unexpected error: {}, unsubscribing!", id, e.toString());
-      consumer.unsubscribe();
+      log.error("{} - Unexpected error: {}!", id, e.toString());
       return 1;
     }
     finally