当前位置:网站首页>flume系列之:拦截器过滤数据
flume系列之:拦截器过滤数据
2022-07-05 18:45:00 【目标博客专家】
flume系列之:拦截器过滤数据
一、kafka空值数据
ConsumerRecord(topic=‘debezium-prod-optics_prod_1h.optics_prod.user_order’, partition=2, offset=3636705, timestamp=1656746091521, timestamp_type=0, key=b’{“schema”:{“type”:“struct”,“fields”:[{“type”:“int32”,“optional”:false,“field”:“order_id”}],“optional”:false,“name”:“debezium_prod_optics_prod_1h.order_prod.user_order.Key”},“playload”:{“order_id”:2752094}}', value=None, headers=[], checksum=None, serialized_key_size=223, serialized_value_size=-1, serialized_header_size=-1)
如上所示:
- value=None
- flume可以使用拦截器过滤掉value为None的kafka消息
二、拦截器过滤空值数据
更多拦截器相关博客请参考博主下面两篇文章:
边栏推荐
- 华为让出的高端市场,小米12S靠徕卡能抢到吗?
- Optimization of middle alignment of loading style of device player in easycvr electronic map
- [performance test] jmeter+grafana+influxdb deployment practice
- Various pits of vs2017 QT
- 2022 latest Android interview written examination, an Android programmer's interview experience
- Ant group open source trusted privacy computing framework "argot": open and universal
- 潘多拉 IOT 开发板学习(HAL 库)—— 实验8 定时器中断实验(学习笔记)
- 在线协作产品哪家强?微软 Loop 、Notion、FlowUs
- 面试官:Redis 过期删除策略和内存淘汰策略有什么区别?
- 为什么 BI 软件都搞不定关联分析?带你分析分析
猜你喜欢
The era of Web3.0 is coming. See how Tianyi cloud storage resources revitalize the system to enable new infrastructure (Part 2)
Teach you to deal with JS reverse picture camouflage hand in hand
中文版Postman?功能真心强大!
企业数字化转型之路,从这里开始
自动化测试的好处
Tianyi cloud understands enterprise level data security in this way
C# 语言的基本语法结构
技术分享 | 接口测试价值与体系
Web3.0时代来了,看天翼云存储资源盘活系统如何赋能新基建(下)
Applet modification style (placeholder, checkbox style)
随机推荐
[detailed explanation of AUTOSAR 14 startup process]
Common time complexity
自动化测试的好处
2022最新中高级Android面试题目,【原理+实战+视频+源码】
Use of websocket tool
EMQX 5.0 正式发布:单集群支持 1 亿 MQTT 连接
cf:B. Almost Ternary Matrix【對稱 + 找規律 + 構造 + 我是構造垃圾】
5. Data access - entityframework integration
2022 the most complete Tencent background automation testing and continuous deployment practice in the whole network [10000 words]
JS solution force deduction daily question (12) - 556 Next larger element III (2022-7-3)
Ten years at sea: old and new relay, dark horse rising
出海十年:新旧接力,黑马崛起
The easycvr authorization expiration page cannot be logged in. How to solve it?
Icml2022 | partial and asymmetric comparative learning of out of distribution detection in long tail recognition
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
Technology sharing | interface testing value and system
Benefits of automated testing
Analysis of postman core functions - parameterization and test report
max31865模块RTD测温注意事项
Windows Oracle 开启远程连接 Windows Server Oracle 开启远程连接