Event rawEvent = iter.next();
rawEvent.set(STREAM_NAME_ATTR, mStreamSymbol.getName().getBytes());
EventWrapper wrapper = new ParsingEventWrapper(mStreamSymbol.getEventParser(),
mFieldNames);
wrapper.reset(rawEvent);
context.emit(wrapper);
}
} catch (IOException ioe) {
LOG.error("IOException emitting event: " + ioe);
} catch (InterruptedException ie) {
LOG.error("Interrupted emitting event: " + ie);