yashmayya commented on code in PR #12984: URL: https://github.com/apache/kafka/pull/12984#discussion_r1050765139
########## connect/runtime/src/main/java/org/apache/kafka/connect/storage/KafkaConfigBackingStore.java: ########## @@ -712,8 +733,16 @@ KafkaBasedLog<String, byte[]> setupAndCreateKafkaBasedLog(String topic, final Wo } private void sendPrivileged(String key, byte[] value) { + sendPrivileged(key, value, null); + } + + private void sendPrivileged(String key, byte[] value, Callback<Void> callback) { if (!usesFencableWriter) { - configLog.send(key, value); Review Comment: Thanks, that's a good observation. Currently, the pause / resume APIs (which call `putTargetState`) don't use callback mechanisms whatsoever and they also don't have any documented response bodies (they send back a `202` response with an empty body right now) and will hence need a bit more refactoring. I feel like that should be done in a follow up / separate PR, WDYT? Edit: Actually, on second thought it's a closely related issue and could be taken care of in this PR itself. I'll work on making the requisite changes. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org