All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.debezium.engine.StopEngineException Maven / Gradle / Ivy

There is a newer version: 1.13.0
Show newest version
/*
 * Copyright Debezium Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.debezium.engine;

import io.debezium.DebeziumException;

/**
 * An exception that is used to tell the engine to process the last source record and to then stop. When raised by
 * {@link Consumer} implementations passed to {@link DebeziumEngine.Builder#notifying(Consumer)}, this exception should
 * only be raised after that consumer has safely processed the passed event.
 *
 * @author Randall Hauch
 */
public class StopEngineException extends DebeziumException {

    private static final long serialVersionUID = 1L;

    public StopEngineException(String msg) {
        super(msg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy