mirror of https://github.com/apache/kafka.git
MINOR: Added evolving annotation to DeleteShareGroupsResult. (#19133)
* Added `InterfaceStability.Evolving` annotation to`DeleteShareGroupsResult`. * Fixed some java doc. Co-authored-by: Andrew Schofield <aschofield@confluent.io> Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Andrew Schofield <aschofield@confluent.io>
This commit is contained in:
parent
c9804344de
commit
b89c819f63
|
|
@ -1846,6 +1846,7 @@ public interface Admin extends AutoCloseable {
|
|||
/**
|
||||
* Delete share groups from the cluster with the default options.
|
||||
*
|
||||
* @param groupIds Collection of share group ids which are to be deleted.
|
||||
* @return The DeleteShareGroupsResult.
|
||||
*/
|
||||
default DeleteShareGroupsResult deleteShareGroups(Collection<String> groupIds) {
|
||||
|
|
@ -1855,6 +1856,7 @@ public interface Admin extends AutoCloseable {
|
|||
/**
|
||||
* Delete share groups from the cluster.
|
||||
*
|
||||
* @param groupIds Collection of share group ids which are to be deleted.
|
||||
* @param options The options to use when deleting a share group.
|
||||
* @return The DeleteShareGroupsResult.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
package org.apache.kafka.clients.admin;
|
||||
|
||||
import org.apache.kafka.common.KafkaFuture;
|
||||
import org.apache.kafka.common.annotation.InterfaceStability;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
|
|
@ -25,7 +26,10 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* The result of the {@link Admin#deleteShareGroups(Collection <String>, DeleteShareGroupsOptions)} call.
|
||||
* <p></p>
|
||||
* The API of this class is evolving, see {@link Admin} for details.
|
||||
*/
|
||||
@InterfaceStability.Evolving
|
||||
public class DeleteShareGroupsResult {
|
||||
private final Map<String, KafkaFuture<Void>> futures;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue