snowplow / snowplow-java-tracker

Snowplow event tracker for Java. Add analytics to your Java desktop and server apps, servlets and games. (See also: snowplow-android-tracker)
http://snowplowanalytics.com
Apache License 2.0
24 stars 36 forks source link

Extract event storage from Emitter #290

Closed mscwilson closed 2 years ago

mscwilson commented 2 years ago

Currently, the BatchEmitter contains the event buffering functionality as well as sending the events. It's an in-memory storage based on two LinkedBlockingQueues. It would be good to create a separate interface and implementation for event storage.