public RocksDbTableDescriptor withWriteBatchSize(int writeBatchSize) {
    this.writeBatchSize = writeBatchSize;
    return this;
  }
For better write performance, the storage engine buffers writes and applies them to the
underlying store in a batch. If the same key is written multiple times in quick succession,
this buffer also deduplicates writes to the same key. This property is set to the number
of key/value pairs that should be kept in this in-memory buffer, per task instance.
The number cannot be greater than {@link #withObjectCacheSize}.
<p>
Default value is 500.
<p>
Refer to <code>stores.store-name.write.batch.size</code> in Samza configuration guide

@param writeBatchSize write batch size
@return this table descriptor instance
samza-kv-rocksdb/src/main/java/org/apache/samza/storage/kv/descriptors/RocksDbTableDescriptor.java