Jason918 commented on a change in pull request #11960: URL: https://github.com/apache/pulsar/pull/11960#discussion_r706099193
########## File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/CursorClient.java ########## @@ -0,0 +1,97 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.pulsar.client.api; + +import java.io.Closeable; +import java.util.concurrent.CompletableFuture; +import org.apache.pulsar.common.classification.InterfaceAudience; +import org.apache.pulsar.common.classification.InterfaceStability; + +/** + * A {@link CursorClient} connects to a PersistentTopic and can manage cursor data of a persistent subscription. + * This is an interface that abstracts behavior of Pulsar's cursor client. + * This {@link CursorClient} is used by a readonly topic owner. + * + * @since 2.9.0 + */ [email protected] [email protected] +public interface CursorClient extends Closeable { Review comment: @eolivelli Yes, it is a little different regarding to the complexity of implementation, but the main idea is the same. And ... This PIP doc is in wiki directory, actually I don't know how to update that. Any help? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
