[ https://issues.apache.org/jira/browse/GEARPUMP-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104488#comment-16104488 ]
ASF GitHub Bot commented on GEARPUMP-331: ----------------------------------------- Github user manuzhang commented on a diff in the pull request: https://github.com/apache/incubator-gearpump/pull/202#discussion_r130016790 --- 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 -- If this is a public interface, then `RuntimeEnvironment` should also provide it. If not, please make it internal. > 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)