Skip to content

Commit

Permalink
MINOR: Fix return tag on Javadocs for consumer group-related Admin me…
Browse files Browse the repository at this point in the history
…thods (apache#16197)

Reviewers: Greg Harris <greg.harris@aiven.io>, Chia-Ping Tsai <chia7712@gmail.com>
  • Loading branch information
C0urante committed Jun 4, 2024
1 parent 5ce4b91 commit 2b47798
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ default DescribeConsumerGroupsResult describeConsumerGroups(Collection<String> g
* List the consumer groups available in the cluster.
*
* @param options The options to use when listing the consumer groups.
* @return The ListGroupsResult.
* @return The ListConsumerGroupsResult.
*/
ListConsumerGroupsResult listConsumerGroups(ListConsumerGroupsOptions options);

Expand All @@ -911,7 +911,7 @@ default DescribeConsumerGroupsResult describeConsumerGroups(Collection<String> g
* This is a convenience method for {@link #listConsumerGroups(ListConsumerGroupsOptions)} with default options.
* See the overload for more details.
*
* @return The ListGroupsResult.
* @return The ListConsumerGroupsResult.
*/
default ListConsumerGroupsResult listConsumerGroups() {
return listConsumerGroups(new ListConsumerGroupsOptions());
Expand All @@ -921,7 +921,7 @@ default ListConsumerGroupsResult listConsumerGroups() {
* List the consumer group offsets available in the cluster.
*
* @param options The options to use when listing the consumer group offsets.
* @return The ListGroupOffsetsResult
* @return The ListConsumerGroupOffsetsResult
*/
default ListConsumerGroupOffsetsResult listConsumerGroupOffsets(String groupId, ListConsumerGroupOffsetsOptions options) {
@SuppressWarnings("deprecation")
Expand All @@ -939,7 +939,7 @@ default ListConsumerGroupOffsetsResult listConsumerGroupOffsets(String groupId,
* This is a convenience method for {@link #listConsumerGroupOffsets(Map, ListConsumerGroupOffsetsOptions)}
* to list offsets of all partitions of one group with default options.
*
* @return The ListGroupOffsetsResult.
* @return The ListConsumerGroupOffsetsResult.
*/
default ListConsumerGroupOffsetsResult listConsumerGroupOffsets(String groupId) {
return listConsumerGroupOffsets(groupId, new ListConsumerGroupOffsetsOptions());
Expand Down

0 comments on commit 2b47798

Please sign in to comment.