StreamSets 设计Edge pipeline
edge pipeline 运行在edge 执行模式,我们可以使用 data collector UI 进行edge pipeline 设计,
设计完成之后,你可以部署对应的pipeline到edge 设备
可以设计的edge pipeline
- edge 发送pipeline
edge 发送pipeline 使用特定的orgin读取edge设备上的数据,这个pipeline 可以在将数据发送到data collector 之前进行数据的处理
- edge 接收pipeline
接收pipeline可以接收来自edge 设备或者 data collector pipeline的数据
orgin 组件
- Dev Random Record Source
- Dev Raw Data Source
- Directory Edge pipelines do not support multithreaded processing.
In an edge pipeline, the Directory origin always creates a single thread to read the files even if you configure it to use multiple threads. - File Tail
In edge pipelines, the File Tail origin can read a single set of files.
If you configure multiple sets of files for the origin, the origin reads only the files configured in the first set. - HTTP Client
In edge pipelines, the HTTP Client origin does not support batch processing mode, pagination, or OAuth2 authorization. - HTTP Server Edge pipelines do not support multithreaded processing.
In an edge pipeline, the HTTP Server origin always creates a single thread to read the files even if you configure it to use multiple threads. - MQTT Subscriber Edge pipelines that use MQTT stages require using an intermediary MQTT broker.
For example, an edge sending pipeline uses an MQTT Publisher destination to write to an MQTT broker. The MQTT broker temporarily stores the data until the MQTT Subscriber origin in the edge receiving pipeline reads the data. - Sensor Reader
- System Metrics
- WebSocket Client
- Windows Event Log
processsor 组件
- Delay
- Dev Identity
- Expression Evaluator
- Field Remover
- JavaScript Evaluator In edge pipelines, the JavaScript Evaluator processor does not support the sdcFunctions scripting object.
- Stream Selector
destinations 组件
- CoAP Client
- HTTP Client
- Kafka Producer
- MQTT Publisher Edge pipelines that use MQTT stages require using an intermediary MQTT broker.
For example, an edge sending pipeline uses an MQTT Publisher destination to write to an MQTT broker. The MQTT broker temporarily stores the data until the MQTT Subscriber origin in the Data Collector receiving pipeline reads the data. - Trash
- WebSocket Client
错误记录处理
- Discard 丢踢
The pipeline discards the record. - Write to File 写到文件
The pipeline writes error records and related details to a local directory on the edge device. Create another edge pipeline with a Directory origin to process the error records written to the file. - Write to MQTT 写到mqtt
The pipeline publishes error records and related details to a topic on an MQTT broker. Create another edge or standalone Data Collector pipeline with an MQTT Subscriber origin to process the error records published to the broker.
支持的数据格式
- json
- text
限制
- Email and webhook notifications cannot be sent by edge pipelines.
- Rules and alerts cannot be defined for edge pipelines.
- Edge pipelines support a limited number of record, math, pipeline, and string functions.
- Edge pipelines do not support dataflow triggers.
- Edge pipelines do not support multithreaded processing.
- You cannot capture snapshots for edge pipelines.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)