flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjsax <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2243] [storm-compat] Added finite spout...
Date Mon, 22 Jun 2015 08:39:27 GMT
Github user mjsax commented on a diff in the pull request:

    https://github.com/apache/flink/pull/853#discussion_r32914310
  
    --- Diff: flink-contrib/flink-storm-compatibility/flink-storm-compatibility-examples/src/main/java/org/apache/flink/stormcompatibility/wordcount/SpoutSourceWordCount.java
---
    @@ -145,7 +145,7 @@ private static boolean parseParameters(final String[] args) {
     		}
     
     		return env.addSource(new StormFiniteSpoutWrapper<String>(new StormInMemorySpout(WordCountData.WORDS),
true),
    -				TypeExtractor.getForClass(String.class));
    +				TypeExtractor.getForClass(String.class)).setParallelism(1);
    --- End diff --
    
    It is correct that the dop must be set to one. The used Spout is not parallelizable.


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