-record(batch_config, {max_batch_size :: integer(), use_transaction :: boolean()}).