Customer Portal

Clover ETL Community Edition - couple of questions

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    1. You can get all tracking information through org.jetel.graph.runtime.jmx.GraphTracking object. In commercial version of CloverETL Designer you could use JavaExecute component in the next phase to the last phase of transformation itself with the code like:

    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.jetel.component.BasicJavaRunnable;
    import org.jetel.data.DataRecord;
    import org.jetel.exception.TransformException;
    import org.jetel.graph.runtime.jmx.GraphTracking;


    public class Logging extends BasicJavaRunnable {

    private final static Log logger = LogFactory.getLog(Logging.class);

    @Override
    public void run() {
    GraphTracking gt = getGraph().getWatchDog().getCloverJmx().getGraphTracking();
    int outRecords = gt.getPhaseTracking()[0].getNodeTracking("DB_INPUT_TABLE0").getOutputPortTracking(0).getTotalRecords();
    logger.warn("Processed records (DB_INPUT_TABLE0):" + outRecords);
    }

    }

    2. CloverETL Designer contains EmailSender component but it is not available in Community Edition
    3. Yes and this is true even if you have Commit attribute set to a higher value unless you set Error action to ROLLBACK. Reading topic Transcation handling in DBOutputTable could be useful for understanding when commit on database is called.
    4. Many components allow to write transformation in java. For full list see Defining Transformations.

Please sign in to leave a comment.