Skip to content

Commit b89c819

Browse files
authored
MINOR: Added evolving annotation to DeleteShareGroupsResult. (apache#19133)
* Added `InterfaceStability.Evolving` annotation to`DeleteShareGroupsResult`. * Fixed some java doc. Co-authored-by: Andrew Schofield <[email protected]> Reviewers: Chia-Ping Tsai <[email protected]>, Andrew Schofield <[email protected]>
1 parent c980434 commit b89c819

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

clients/src/main/java/org/apache/kafka/clients/admin/Admin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,7 @@ default ListShareGroupOffsetsResult listShareGroupOffsets(Map<String, ListShareG
18461846
/**
18471847
* Delete share groups from the cluster with the default options.
18481848
*
1849+
* @param groupIds Collection of share group ids which are to be deleted.
18491850
* @return The DeleteShareGroupsResult.
18501851
*/
18511852
default DeleteShareGroupsResult deleteShareGroups(Collection<String> groupIds) {
@@ -1855,6 +1856,7 @@ default DeleteShareGroupsResult deleteShareGroups(Collection<String> groupIds) {
18551856
/**
18561857
* Delete share groups from the cluster.
18571858
*
1859+
* @param groupIds Collection of share group ids which are to be deleted.
18581860
* @param options The options to use when deleting a share group.
18591861
* @return The DeleteShareGroupsResult.
18601862
*/

clients/src/main/java/org/apache/kafka/clients/admin/DeleteShareGroupsResult.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@
1818
package org.apache.kafka.clients.admin;
1919

2020
import org.apache.kafka.common.KafkaFuture;
21+
import org.apache.kafka.common.annotation.InterfaceStability;
2122

2223
import java.util.Collection;
2324
import java.util.HashMap;
2425
import java.util.Map;
2526

2627
/**
2728
* The result of the {@link Admin#deleteShareGroups(Collection <String>, DeleteShareGroupsOptions)} call.
29+
* <p></p>
30+
* The API of this class is evolving, see {@link Admin} for details.
2831
*/
32+
@InterfaceStability.Evolving
2933
public class DeleteShareGroupsResult {
3034
private final Map<String, KafkaFuture<Void>> futures;
3135

0 commit comments

Comments
 (0)