Eventsourced processor Java API and tests