 Scalable Stream Processing - Spark Streaming and FlinkTransformation ▶ Output operations 12 / 79 Input Operations ▶ Every input DStream is associated with a Receiver object. • It receives the data from a source and stores it in Spark’s memory for processing. ▶ , user-provided sources. 13 / 79 Input Operations ▶ Every input DStream is associated with a Receiver object. • It receives the data from a source and stores it in Spark’s memory for processing. ▶ partitions]) 15 / 79 Input Operations - Custom Sources (1/3) ▶ To create a custom source: extend the Receiver class. ▶ Implement onStart() and onStop(). ▶ Call store(data) to store received data inside Spark0 码力 | 113 页 | 1.22 MB | 1 年前3 Scalable Stream Processing - Spark Streaming and FlinkTransformation ▶ Output operations 12 / 79 Input Operations ▶ Every input DStream is associated with a Receiver object. • It receives the data from a source and stores it in Spark’s memory for processing. ▶ , user-provided sources. 13 / 79 Input Operations ▶ Every input DStream is associated with a Receiver object. • It receives the data from a source and stores it in Spark’s memory for processing. ▶ partitions]) 15 / 79 Input Operations - Custom Sources (1/3) ▶ To create a custom source: extend the Receiver class. ▶ Implement onStart() and onStop(). ▶ Call store(data) to store received data inside Spark0 码力 | 113 页 | 1.22 MB | 1 年前3
 Flow control and load shedding - CS 591 K1: Data Stream Processing and Analytics Spring 2020whether receivers have the required capacity to handle data messages. • When the credit of a receiver drops to zero (or a specified threshold), backpressure appears on its virtual channel. ??? Vasiliki0 码力 | 43 页 | 2.42 MB | 1 年前3 Flow control and load shedding - CS 591 K1: Data Stream Processing and Analytics Spring 2020whether receivers have the required capacity to handle data messages. • When the credit of a receiver drops to zero (or a specified threshold), backpressure appears on its virtual channel. ??? Vasiliki0 码力 | 43 页 | 2.42 MB | 1 年前3
 Streaming optimizations	- CS 591 K1: Data Stream Processing and Analytics Spring 2020• TaskManagers have a pool of network buffers to send and receive data. • If the sender and receiver run in separate processes, they communicate via permanent TCP connections. • If they run in0 码力 | 54 页 | 2.83 MB | 1 年前3 Streaming optimizations	- CS 591 K1: Data Stream Processing and Analytics Spring 2020• TaskManagers have a pool of network buffers to send and receive data. • If the sender and receiver run in separate processes, they communicate via permanent TCP connections. • If they run in0 码力 | 54 页 | 2.83 MB | 1 年前3
共 3 条
- 1













