Skip to content

Commit

Permalink
Removed unused KafkaConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
Manjeet Kadam authored and Manjeet Kadam committed Feb 8, 2018
1 parent 813dd2c commit c5ca2c4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.List;
import java.util.Map;
import java.util.Properties;

import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
Expand Down Expand Up @@ -106,7 +105,6 @@ public static void main(String[] args) throws JsonProcessingException, OffsetFet
* }
* }
*/
try (KafkaConsumer<String, String> consumer = new KafkaConsumer<>(props)) {
Collection<TopicPartition> c = new ArrayList<TopicPartition>();


Expand Down Expand Up @@ -231,6 +229,5 @@ public static void main(String[] args) throws JsonProcessingException, OffsetFet
}
}
System.exit(0);
}
}
}

0 comments on commit c5ca2c4

Please sign in to comment.