当前位置:网站首页>【Flume】batchSize和transactionCapacity区别
【Flume】batchSize和transactionCapacity区别
2022-07-30 10:30:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
batchSize是针对Source和Sink提出的一个概念,它用来限制source和sink对event批量处理的。
即一次性你可以处理batchSize个event,这个一次性就是指在一个事务中。
当你处理的event数量超出了batchSize,那么事务就会提交了。
注意,这里有一个隐晦的地方,就是batchSize一定不能大于transactionCapacity
transactionCapacity这个概念来自于通道中,不同于batchSize(Source,Sink),说白了,就是batchSize与transactionCapactiy相互传递数据,好比两个人相互递交文件,所以batchSize的容量要小于在channel内的transactionCapactiy,否则文件会溢出。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/129454.html原文链接:https://javaforall.cn
边栏推荐
- Mysterious APT Attack
- 【HMS core】【FAQ】HMS Toolkit Typical Questions Collection 1
- Alibaba Cloud OSS Object Storage
- Re17: Read the paper Challenges for Information Extraction from Dialogue in Criminal Law
- Domino Server SSL Certificate Installation Guide
- 正则表达式快速入门笔记
- Neural Ordinary Differential Equations
- Easy gene: human tRNA gene loci showed age-related high DNA methylation | research articles
- log4js入门
- Database dirty reads, non-repeatable reads, phantom reads and corresponding isolation levels
猜你喜欢

论文阅读:SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers

BERT预训练模型系列总结

(C language) file operation

RandLA-Net复现记录
![[Qualcomm][Network] 网络拨号失败和netmgrd服务分析](/img/76/49054ff8c7215eca98cc479ab1d986.png)
[Qualcomm][Network] 网络拨号失败和netmgrd服务分析

关于verilog的时延研究

JVM内存布局、类加载机制及垃圾回收机制详解

spark udf accepts and handles null values.

Detailed explanation of JVM memory layout, class loading mechanism and garbage collection mechanism

Neural Ordinary Differential Equations
随机推荐
[HarmonyOS] [ARK UI] How to double-click the return key to exit in HarmonyOS ets language
SST-Calib: A lidar-visual extrinsic parameter calibration method combining semantics and VO for spatiotemporal synchronization calibration (ITSC 2022)
多线程--线程和线程池的用法
Neural Ordinary Differential Equations
flowable workflow all business concepts
360发布面向未来的EDR,全方位守护政企用户终端安全
数据库事务,JDBC操作和数据类型
现在报PMP还来得及参加9月的考试吗?分享敏捷全真模拟题
jmeter接口压力测试-(二)
Re16: Read the paper ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanation
(C language) file operation
(***Key points***) Flink common memory problems and tuning guide (1)
spark udf accepts and handles null values.
360 released a future-oriented EDR to protect the security of government and enterprise user terminals in an all-round way
In 2022, the top will be accepted cca shut the list
Security思想项目总结
自适应控制——仿真实验一 用李雅普诺夫稳定性理论设计自适应规律
从数据流中快速查找中位数
MySQL |子查询
Study Notes 10--Main Methods of Local Trajectory Generation