proofpoint/event-collector — pull request #14 by mkralka (2012-12-18 23:29:22+00:00)
Title: Event Collector Refactoring [Part 2]

This set of changes modifies how the EventTapWriter interacts with the BatchProcessor. Specifically, it: (a) creates BatchProcessor object based on the listening taps and not the received events (avoids queuing up events no tap cares about), (b) has the BatchProcessor send batches directly to the EventTapFlow objects rather than back into the EventTapWriter for distribution, (c) extracts the BatchProcessor configuration into a separate class, and (d) introduces a BatchProcessor factory.