[ 
https://issues.apache.org/jira/browse/GEARPUMP-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104477#comment-16104477
 ] 

ASF GitHub Bot commented on GEARPUMP-331:
-----------------------------------------

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

    https://github.com/apache/incubator-gearpump/pull/202#discussion_r130015303
  
    --- Diff: docs/contents/dev/dev-write-1st-app.md ---
    @@ -9,7 +9,7 @@ We'll use the classical 
[wordcount](https://github.com/apache/incubator-gearpump
          override val options: Array[(String, CLIOption[Any])] = Array.empty
        
          override def main(akkaConf: Config, args: Array[String]): Unit = {
    -       val context = ClientContext(akkaConf)
    +       val context = RuntimeEnvironment.get().newClientContext(akkaConf)
    --- End diff --
    
    ```
     def apply(config: Config): ClientContext = {
        RuntimeEnvironment.get().newClientContext(config)
      }
    ```
    Like this? Then what about 
    ```
    def apply(config: Config, system: ActorSystem, master: ActorRef): 
ClientContext
    ```



> Allow examples to be ran in IDE
> -------------------------------
>
>                 Key: GEARPUMP-331
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-331
>             Project: Apache Gearpump
>          Issue Type: Improvement
>            Reporter: Huafeng Wang
>            Assignee: Huafeng Wang
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to