Skip to main content

MAX_BATCH_SIZE

Constant MAX_BATCH_SIZE 

Source
pub const MAX_BATCH_SIZE: usize = _; // 2_147_483_647usize
Expand description

Maximum batch size matches Java’s Integer.MAX_VALUE limit. Java uses int type for batch size, so max value is 2^31 - 1 = 2,147,483,647 bytes (~2GB). This is the implicit limit in FileLogRecords.java and other Java components.