如何使用spark streaming接收kafka中发送的自定义对象

2025-05-02 10:03:06
推荐回答(1个)
回答1:

若将Spark作业以yarn cluster模式提交到Yarn,由Yarn启动Spark作业,在某个子节点的Executor会监听该端口,接收数据。