Build a RecordBatch from records with the given options.
Computes lastOffsetDelta and maxTimestamp automatically.
Build a RecordBatch from records with the given options.
Computes lastOffsetDelta and maxTimestamp automatically.