Skip to content

Commit 7b387b6

Browse files
committed
🤦‍
1 parent b262934 commit 7b387b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎connector/src/main/java/io/questdb/kafka/QuestDBSinkTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void put(Collection<SinkRecord> collection) {
169169
if (remainingMs <= 0) {
170170
log.debug("Flushing data to QuestDB due to auto_flush_interval timeout");
171171
flushAndResetCounters();
172-
} if (allowedLag == 0) {
172+
} else if (allowedLag == 0) {
173173
log.debug("Flushing data to QuestDB due to zero allowed lag");
174174
flushAndResetCounters();
175175
} else {

0 commit comments

Comments
 (0)