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

io.streamnative.pulsar.handlers.kop.lookup.LookupService Maven / Gradle / Ivy

There is a newer version: 3.3.1.5
Show newest version
/**
 * Copyright (c) 2019 - 2024 StreamNative, Inc.. All Rights Reserved.
 */
package io.streamnative.pulsar.handlers.kop.lookup;

import io.streamnative.pulsar.handlers.kop.EndPoint;
import java.net.InetSocketAddress;
import java.util.concurrent.CompletableFuture;
import javax.annotation.Nullable;
import org.apache.pulsar.common.naming.TopicName;

public interface LookupService {

    CompletableFuture lookup(TopicName topicName, @Nullable EndPoint advertisedEndPoint);

    default CompletableFuture closeAsync() {
        return CompletableFuture.completedFuture(null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy