package com.neverwinterdp.analytics;

import com.beust.jcommander.Parameter;

public class AnalyticsConfig {
  @Parameter(names = {"--help", "-h"}, help = true, description = "Output this help message")
  public boolean help;

  @Parameter(names = "--local-app-home", required=true, description="The example dataflow local location")
  public String localAppHome ;
  
  @Parameter(names = "--dfs-app-home", description="DFS location to upload the example dataflow")
  public String dfsAppHome = "/applications/dataflow/sample";
  
  @Parameter(names = "--zk-connect", description="[host]:[port] of Zookeeper server")
  public String zkConnect = "zookeeper-1:2181";
  
  @Parameter(names = "--hadoop-master-connect", description="Hostname of HadoopMaster")
  public String hadoopMasterConnect = "hadoop-master";

  @Parameter(names = "--generator-odyssey-input-topic", description="")
  public String generatorOdysseyInputTopic = "odyssey.input";
  
  @Parameter(names = "--generator--odyssey-num-of-events", description="")
  public int generatorOdysseyNumOfEvents = 100000;
  
  @Parameter(names = "--generator-web-input-topic", description="")
  public String generatorWebInputTopic = "web.input";
  
  @Parameter(names = "--generator--web-num-of-events", description="")
  public int generatorWebNumOfEvents = 100000;
  
  @Parameter(names = "--dataflow-id", description="")
  public String dataflowId         = "analytics";
  
  @Parameter(names = "--dataflow-default-parallelism", description="")
  public int    dataflowDefaultParallelism = 5;
  
  @Parameter(names = "--dataflow-default-replication", description="")
  public int    dataflowDefaultReplication = 1;

  @Parameter(names = "--dataflow-tracking-window-size", description="")
  public int    dataflowTrackingWindowSize     = 1000;
  
  @Parameter(names = "--dataflow-sliding-window-size", description="")
  public int    dataflowSlidingWindowSize      = 15;
  
  @Parameter(names = "--dataflow-num-of-workers", description="")
  public int    dataflowNumOfWorker            = 2;
  
  @Parameter(names = "--dataflow-num-of-executor-per-worker", description="")
  public int    dataflowNumOfExecutorPerWorker = 7;
}
@@ -976,17 +976,16 @@
 nerator-
--
 odyssey-
@@ -1229,17 +1229,16 @@
 nerator-
--
 web-num-

fix syntax