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.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---