Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-1225] Fix for quickstart packaging #279

Merged
merged 2 commits into from
Dec 26, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[streaming] Temporal fix for streaming source parallelism
  • Loading branch information
mbalassi committed Dec 26, 2014
commit 2467f36c80830e83b43271c89cf1ec827882b424
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,9 @@ public <OUT> DataStreamSource<OUT> addSource(SourceFunction<OUT> function) {
DataStreamSource<OUT> returnStream = new DataStreamSource<OUT>(this, "source", outTypeInfo);

try {
//currently parallel sources are not directly supported
jobGraphBuilder.addSourceVertex(returnStream.getId(), function, null, outTypeInfo,
"source", SerializationUtils.serialize(function), getDegreeOfParallelism());
"source", SerializationUtils.serialize(function), 1);
} catch (SerializationException e) {
throw new RuntimeException("Cannot serialize SourceFunction");
}
Expand Down