Skip to content

Commit 95b94bc

Browse files
KonstantinMichanter
authored andcommitted
Address PR review comments
1 parent 7ddf350 commit 95b94bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/main/java/com/google/cloud/datalineage/producerclient/v1/AsyncLineageProducerClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private void gracefulShutdown(Instant shutdownStartedAt) throws InterruptedExcep
196196
if (gracefulShutdownDuration.isZero()) {
197197
log.warn(
198198
"AsyncLineageProducerClient graceful shutdown duration was set to zero. "
199-
+ "This effectively means hard shutdown");
199+
+ "This effectively means hard shutdown with potential data loss");
200200
return;
201201
}
202202
log.debug("Starting graceful shutdown with duration: {}", gracefulShutdownDuration);

lib/src/test/java/com/google/cloud/datalineage/producerclient/v1/AsyncLineageProducerClientLoggingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public void testHardShutdownLogging() throws Exception {
183183
assertThat(testAppender.getMessagesAtLevel(Level.WARN))
184184
.contains(
185185
"AsyncLineageProducerClient graceful shutdown duration was set to zero. "
186-
+ "This effectively means hard shutdown");
186+
+ "This effectively means hard shutdown with potential data loss");
187187
}
188188

189189
@Test

0 commit comments

Comments
 (0)