Adding batch upper limit and unit test

This will allow more then one event to be processed in a single processEventBatch call.  Also it will not wait to fetch more from Kafka if there is nothing left.