Search in sources :

Example 1 with PulsarConfiguration

use of org.apache.flink.connector.pulsar.common.config.PulsarConfiguration in project flink by apache.

the class PulsarRuntimeOperator method config.

/**
 * The configuration for constructing {@link PulsarConfiguration}.
 */
public Configuration config() {
    Configuration configuration = new Configuration();
    configuration.set(PULSAR_SERVICE_URL, serviceUrl());
    configuration.set(PULSAR_ADMIN_URL, adminUrl());
    return configuration;
}
Also used : Configuration(org.apache.flink.configuration.Configuration) PulsarConfiguration(org.apache.flink.connector.pulsar.common.config.PulsarConfiguration)

Aggregations

Configuration (org.apache.flink.configuration.Configuration)1 PulsarConfiguration (org.apache.flink.connector.pulsar.common.config.PulsarConfiguration)1