tidy up idea warnings
add batchSize and offset to batch publication
tryPublish will now return false if the batch size is bigger than the ring buffer