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

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

/**
 * Indicates that a connector supports multitask execution mode, allowing multiple
 * tasks to run concurrently within a single connector instance.
 * <p>
 * Connectors annotated with {@code @SupportsMultiTask} can handle multiple tasks
 * simultaneously, improving throughput and resource utilization. Connectors without
 * this annotation are assumed to support only single-task execution mode, where
 * one task runs per connector instance.
 * </p>
 */
@Documented
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface SupportsMultiTask {
}
