Adapted incomingDataHandler to support more than one InputDataIngestionMode.