From 9676af7a93ed965f5f9b5b136b52d9d52bc32d23 Mon Sep 17 00:00:00 2001 From: ggaborg Date: Tue, 16 Aug 2022 19:23:39 +0300 Subject: [PATCH] DBZ-4631 fix compilation error "text blocks are not supported in -source 11" --- .../sqlserver/SqlServerStreamingChangeEventSource.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/debezium-connector-sqlserver/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java b/debezium-connector-sqlserver/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java index 7687c14aa..43091da07 100644 --- a/debezium-connector-sqlserver/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java +++ b/debezium-connector-sqlserver/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java @@ -164,11 +164,10 @@ public boolean executeIteration(ChangeEventSourceContext context, SqlServerParti } catch (SQLException e) { if (!supressAgentCheckException) { - LOGGER.warn(""" - No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or \ - low activity database where the cdc clean up job periodically clears entries from the cdc tables. \ - Otherwise, this may be an indication that the SQL Server Agent is not running. \ - You should follow the documentation on how to configure SQL Server Agent running status query."""); + LOGGER.warn("No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or " + + "low activity database where the cdc clean up job periodically clears entries from the cdc tables. " + + "Otherwise, this may be an indication that the SQL Server Agent is not running. " + + "You should follow the documentation on how to configure SQL Server Agent running status query."); LOGGER.error("Cannot query the status of the SQL Server Agent", e); supressAgentCheckException = true; }