gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manuzhang <...@git.apache.org>
Subject [GitHub] incubator-gearpump pull request #202: [GEARPUMP-331] Allow applications to b...
Date Thu, 27 Jul 2017 07:40:16 GMT
Github user manuzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/202#discussion_r129772729
  
    --- Diff: examples/streaming/wordcount/src/main/scala/org/apache/gearpump/streaming/examples/wordcount/WordCount.scala
---
    @@ -64,18 +64,13 @@ object WordCount extends AkkaApp with ArgumentsParser {
         val debugMode = config.getBoolean("debug")
         val sleepSeconds = config.getInt("sleep")
     
    -    val localCluster = if (debugMode) {
    -      val cluster = new EmbeddedCluster(akkaConf: Config)
    -      cluster.start()
    -      Some(cluster)
    +    val runtimeEnv = if (debugMode) {
    --- End diff --
    
    Is the "debugMode" option necessary ?  If examples are run in IDE, they are already in
debug mode.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message