/*
 * 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.runtime;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.debezium.common.annotation.Incubating;
import io.debezium.runtime.configuration.QuarkusDatasourceConfiguration;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Incubating()
public @interface Capturing {
    String ALL = "*";
    String DEFAULT = QuarkusDatasourceConfiguration.DEFAULT;

    /**
     * the destination that triggers the handler
     * default: "*"
     */
    String destination() default ALL;

    /**
     * the engine assigned
     */
    String engine() default DEFAULT;
}
