public void realExecute(Tuple tuple) {
Map<String, Object> event = (Map<String, Object>) tuple.getValue(0);
String id = event.get("_id") != null ? event.get("_id").toString() : null;
Long timestamp = event.get("timestamp") != null ? (Long) event.get("timestamp") : null;
EventId eventId = event.get("eventId") != null ? EventId.valueOf(event.get("eventId").toString()) : null;
String accountId = event.get("accountId") != null ? event.get("accountId").toString() : null;
String userId = event.get("userId") != null ? event.get("userId").toString() : null;
String targetId = event.get("targetId") != null ? event.get("targetId").toString() : null;
Map<String, Object> metadata = event.get("metadata") != null ?
(Map<String, Object>) event.get("metadata") :