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


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareConsumerImpl.java:
##########
@@ -892,8 +892,12 @@ public Uuid clientInstanceId(final Duration timeout) {
      */
     @Override
     public Optional<Integer> acquisitionLockTimeoutMs() {
-        // To be implemented
-        return Optional.empty();
+        acquireAndEnsureOpen();

Review Comment:
   Because it ensures that this method behaves correctly when the share 
consumer is closed.



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