AndrewJSchofield commented on code in PR #20728:
URL: https://github.com/apache/kafka/pull/20728#discussion_r2442533639


##########
clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerGroupMetadata.java:
##########
@@ -31,6 +31,10 @@ public class ConsumerGroupMetadata {
     private final String memberId;
     private final Optional<String> groupInstanceId;
 
+    /**
+     * @deprecated Since 4.2, please use {@link KafkaConsumer#groupMetadata()} 
instead. This class will be an interface in Kafka 5.0.
+     */
+    @Deprecated

Review Comment:
   Please use `@Deprecated(since = "4.2", forRemoval = true)`



##########
clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerGroupMetadata.java:
##########
@@ -41,6 +45,10 @@ public ConsumerGroupMetadata(String groupId,
         this.groupInstanceId = Objects.requireNonNull(groupInstanceId, 
"group.instance.id can't be null");
     }
 
+    /**
+     * @deprecated Since 4.2, please use {@link KafkaConsumer#groupMetadata()} 
instead. This class will be an interface in Kafka 5.0.
+     */
+    @Deprecated

Review Comment:
   And here.



-- 
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]

Reply via email to