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

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

package io.kestra.plugin.pulsar;

import io.kestra.core.models.annotations.PluginProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;

public interface PulsarConnectionInterface {
    @Schema(
        title = "Connection URLs",
        description = "You need to specify a Pulsar protocol URL\n" +
            "- Example of localhost: `pulsar://localhost:6650`\n" +
            "- If you have multiple brokers: `pulsar://localhost:6550,localhost:6651,localhost:6652`\n" +
            "- If you use TLS authentication: `pulsar+ssl://pulsar.us-west.example.com:6651`\n" +
            "- `ssl.truststore.location` "

    )
    @PluginProperty(dynamic = true)
    @NotNull
    String getUri();

    @Schema(
        title = "Authentication Token",
        description = "Authentication Token that can be necessary with some providers such as Clever Cloud!"

    )
    @PluginProperty(dynamic = true)
    String getAuthenticationToken();

    @Schema(
        title = "TLS Authentication",
        description = "You need to use \"pulsar+ssl://\" in serviceUrl to enable TLS support."

    )
    @PluginProperty(dynamic = false)
    AbstractPulsarConnection.TlsOptions getTlsOptions();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy