Skip to content

Commit ba38d98

Browse files
Henry Saputrarxin
authored andcommitted
Merge pull request apache#577 from hsaputra/fix_simple_streaming_doc.
SPARK-1075 Fix doc in the Spark Streaming custom receiver closing bracket in the class constructor The closing parentheses in the constructor in the first code block example is reversed: diff --git a/docs/streaming-custom-receivers.md b/docs/streaming-custom-receivers.md index 4e27d65..3fb540c 100644 — a/docs/streaming-custom-receivers.md +++ b/docs/streaming-custom-receivers.md @@ -14,7 +14,7 @@ This starts with implementing NetworkReceiver(api/streaming/index.html#org.apa The following is a simple socket text-stream receiver. {% highlight scala %} class SocketTextStreamReceiver(host: String, port: Int( + class SocketTextStreamReceiver(host: String, port: Int) extends NetworkReceiverString { protected lazy val blocksGenerator: BlockGenerator = Author: Henry Saputra <henry@platfora.com> Closes apache#577 and squashes the following commits: 6508341 [Henry Saputra] SPARK-1075 Fix doc in the Spark Streaming custom receiver.
1 parent 4afe6cc commit ba38d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/streaming-custom-receivers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This starts with implementing [NetworkReceiver](api/streaming/index.html#org.apa
1414
The following is a simple socket text-stream receiver.
1515

1616
{% highlight scala %}
17-
class SocketTextStreamReceiver(host: String, port: Int(
17+
class SocketTextStreamReceiver(host: String, port: Int)
1818
extends NetworkReceiver[String]
1919
{
2020
protected lazy val blocksGenerator: BlockGenerator =

0 commit comments

Comments
 (0)