当前位置:网站首页>【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
边栏推荐
- 鸿湖万联扬帆富设备开发板正式合入OpenHarmony主干
- MFCC to audio, the effect should not be too funny >V
- Meikle Studio - see the actual combat notes of Hongmeng device development 4 - kernel development
- 论文阅读:SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
- 线上靶机prompt.ml
- The configuration process and related syntax of writing markdown format notes in vscode
- 第2章 常用安全工具
- Redis Desktop Manager 2022.4.2 发布
- 线程池方式开启线程--submit()和execute()的区别
- jmeter接口压力测试-(二)
猜你喜欢
Unity 锁定相机第二弹

易基因:人类tRNA基因位点表现出与衰老相关的DNA高甲基化|研究文章

Re19: Read the paper Paragraph-level Rationale Extraction through Regularization: A case study on European Court

Classes and Objects - 6 Default Member Functions

TestNg整合Retry代码

By building a sequence table - teach you to calculate time complexity and space complexity (including recursion)

加密和安全

Matplotlib--plot markers

【HMS core】【Analytics Kit】【FAQ】如何解决华为分析付费分析中付款金额显示为0的问题?

梅科尔工作室-看鸿蒙设备开发实战笔记五——驱动子系统开发
随机推荐
WARN: Establishing SSL connection without server's identity verification is not recommended when connecting to mysql
Scrapy crawler website image crawling
【HarmonyOS】【ARK UI】HarmonyOS ets语言怎么实现双击返回键退出
第2章 常用安全工具
Matplotlib--plot markers
多线程保证单个线程开启事务并生效的方案
2022年顶会accepted papers list
In 2022, the top will be accepted cca shut the list
OC-ARC (Automatic Reference Counting) automatic reference counting
鸿湖万联扬帆富设备开发板正式合入OpenHarmony主干
PyQt5 - draw sine curve with pixels
拖放事件,dataTransfer,getBoundingClientRect
Domino Server SSL Certificate Installation Guide
从数据流中快速查找中位数
Re19: Read the paper Paragraph-level Rationale Extraction through Regularization: A case study on European Court
MFCC to audio, the effect should not be too funny >V
Alibaba Cloud OSS Object Storage
OC-关于alloc和dealloc(还没开始写)
BERT pre-training model series summary
Js array operating mobile for encapsulation