rhauch commented on a change in pull request #10158: URL: https://github.com/apache/kafka/pull/10158#discussion_r579289580
########## File path: connect/runtime/src/main/java/org/apache/kafka/connect/util/KafkaBasedLog.java ########## @@ -161,6 +164,7 @@ public void start() { // Create the topic admin client and initialize the topic ... admin = topicAdminSupplier.get(); // may be null + useAdminForListOffsets = admin != null; Review comment: Per the next comment, I've removed the `useAdminForListOffset` field to simplify things. However, I still think that it's more appropriate and follows existing convention for this class to call `topicAdminSupplier.get()` in the `start()` method. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org