zl程序教程

您现在的位置是:首页 >  工具

当前栏目

第9课:Spark Streaming源码解读之Receiver在Driver的精妙实现全生命周期彻底研究和思考

源码Spark 实现 研究 解读 思考 生命周期 彻底
2023-09-27 14:26:47 时间

第9课:Spark Streaming源码解读之Receiver在Driver的精妙实现全生命周期彻底研究和思考
/* 王家林老师授课http://weibo.com/ilovepains  每天晚上20:00YY频道现场授课频道68917580*/

1,Receiver启动方式设想
2,Receiver启动源代码

Spark Streaming在启动receiver时候是非常巧妙的,具体巧妙在什么地方呢?这节课将揭秘。


DStreamGraph

/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, softwa