Skip to content

Commit 11e2b32

Browse files
mihir goremihir gore
mihir gore
authored and
mihir gore
committed
Fix logs
1 parent 974a66d commit 11e2b32

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

kafka-bom/build.gradle.kts

-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ dependencies {
3333
api("org.apache.kafka:kafka-streams:$kafkaCcsVersion")
3434
api("org.apache.kafka:kafka-streams-test-utils:$kafkaCcsVersion")
3535
api("org.apache.avro:avro:1.11.3")
36-
api("org.apache.kafka:kafka-streams-test-utils:$kafkaCcsVersion")
3736
}
3837
}

kafka-streams-framework/src/main/java/org/hypertrace/core/kafkastreams/framework/listeners/LoggingStateRestoreListener.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void onRestoreStart(TopicPartition topicPartition, String store, long sta
2323
long toRestore = end - start;
2424
totalToRestore.put(topicPartition, toRestore);
2525
startTimes.put(topicPartition, System.currentTimeMillis());
26-
LOGGER.info(
26+
LOGGER.debug(
2727
"Starting restoration for [{}] on topic-partition [{}] total to restore [{}]",
2828
store,
2929
topicPartition,
@@ -38,7 +38,7 @@ public void onBatchRestored(
3838
long currentProgress = batchCompleted + restoredSoFar.getOrDefault(topicPartition, 0L);
3939
double percentComplete = (double) currentProgress / totalToRestore.get(topicPartition);
4040

41-
LOGGER.info(
41+
LOGGER.debug(
4242
"Completed [{}] for [{}]% of total restoration for [{}] on [{}]",
4343
batchCompleted, formatter.format(percentComplete * 100.00), store, topicPartition);
4444
restoredSoFar.put(topicPartition, currentProgress);
@@ -47,7 +47,7 @@ public void onBatchRestored(
4747
@Override
4848
public void onRestoreEnd(TopicPartition topicPartition, String store, long totalRestored) {
4949
long startTs = startTimes.remove(topicPartition);
50-
LOGGER.info(
50+
LOGGER.debug(
5151
"Restoration completed for [{}] on topic-partition [{}]. Total restored [{}] records. Duration [{}]",
5252
store,
5353
topicPartition,

0 commit comments

Comments
 (0)