io.kestra.plugin.pulsar.PollingInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-pulsar Show documentation
Show all versions of plugin-pulsar Show documentation
Leverage Apache Pulsar messaging in Kestra data orchestration.
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();
}