Github user mjsax commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1046#discussion_r38312152
  
    --- Diff: 
flink-contrib/flink-storm-compatibility/flink-storm-compatibility-examples/src/main/java/org/apache/flink/stormcompatibility/excamation/ExclamationWithStormBolt.java
 ---
    @@ -101,20 +143,23 @@ public String map(String value) throws Exception {
        private static boolean fileOutput = false;
        private static String textPath;
        private static String outputPath;
    +   private static int exclamationNum;
     
        private static boolean parseParameters(final String[] args) {
     
                if (args.length > 0) {
                        // parse input arguments
                        fileOutput = true;
    -                   if (args.length == 2) {
    +                   if (args.length == 3) {
                                textPath = args[0];
                                outputPath = args[1];
    +                           exclamationNum = Integer.parseInt(args[2]);
                        } else {
                                System.err.println("Usage: 
ExclamationWithStormBolt <text path> <result path>");
    --- End diff --
    
    extend parameter list


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to