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

io.kestra.plugin.pulsar.PollingInterface Maven / Gradle / Ivy

There is a newer version: 0.18.0
Show newest version
package io.kestra.plugin.pulsar;

import io.kestra.core.models.annotations.PluginProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.time.Duration;

public interface PollingInterface {

    @Schema(
        title = "Duration waiting for record to be polled.",
        description = "If no records are available, the maximum wait to wait for a new record. "
    )
    @NotNull
    @PluginProperty(dynamic = true)
    Duration getPollDuration();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy