Martin Gainty created KAFKA-4170: ------------------------------------ Summary: required() method not available in joptsimple.OptionSpec<String> Key: KAFKA-4170 URL: https://issues.apache.org/jira/browse/KAFKA-4170 Project: Kafka Issue Type: Bug Components: core Affects Versions: 0.10.0.1 Environment: java 1. Reporter: Martin Gainty Priority: Critical
kafka.tools.StreamResetter.java: private static joptsimple.OptionSpec<String> applicationIdOption; private void parseArguments(final String[] args) throws java.io.IOException { final joptsimple.OptionParser optionParser = new joptsimple.OptionParser(); applicationIdOption = (optionParser.accepts("application-id", "The Kafka Streams application ID (application.id)") .withRequiredArg() .ofType(String.class) .describedAs("id") .required(); //required() method is not available in joptline 4.9 joptline.OptionSpec.java <dependency> <groupId>net.sf.jopt-simple</groupId> <artifactId>jopt-simple</artifactId> <version>4.9</version> </dependency> -- This message was sent by Atlassian JIRA (v6.3.4#6332)