chia7712 commented on a change in pull request #9862:
URL: https://github.com/apache/kafka/pull/9862#discussion_r555094139
##########
File path: raft/src/main/java/org/apache/kafka/snapshot/SnapshotWriter.java
##########
@@ -107,7 +107,7 @@ public boolean isFrozen() {
public void append(List<T> records) throws IOException {
if (snapshot.isFrozen()) {
String message = String.format(
- "Append not supported. Snapshot is already frozen: id = {}.",
+ "Append not supported. Snapshot is already frozen: id = {%s}.",
Review comment:
Is ```'%s'``` more suitable (if you want to highlight the object string)
?
----------------------------------------------------------------
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:
[email protected]