gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huafengw <...@git.apache.org>
Subject [GitHub] incubator-gearpump pull request #212: [GEARPUMP-339] Add ScalaDoc to Streami...
Date Sun, 06 Aug 2017 15:02:25 GMT
Github user huafengw commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/212#discussion_r131545040
  
    --- Diff: streaming/src/main/scala/org/apache/gearpump/streaming/dsl/scalaapi/StreamApp.scala
---
    @@ -62,6 +62,17 @@ class StreamApp(
         val dag = planner.plan(graph)
         StreamApplication(name, dag, userConfig)
       }
    +
    +  def source[T](dataSource: DataSource, parallelism: Int = 1,
    +      conf: UserConfig = UserConfig.empty, description: String = "source"): Stream[T]
= {
    +    implicit val sourceOp = DataSourceOp(dataSource, parallelism, description, conf)
    --- End diff --
    
    Has to be implicit?


---
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