Package com.alibaba.jstorm.client.spout

Examples of com.alibaba.jstorm.client.spout.IFailValueSpout.fail()


    Object msg_id = tupleInfo.getMessageId();

    if (spout instanceof IFailValueSpout) {
      IFailValueSpout enhanceSpout = (IFailValueSpout) spout;
      enhanceSpout.fail(msg_id, tupleInfo.getValues());
    } else {
      spout.fail(msg_id);
    }

    task_stats.spout_failed_tuple(tupleInfo.getStream());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.