add initial BatchSpec, that works when exactly batch number of msgs are sent. need to refactor for working during continuous send