diff --git a/inlong-sdk/dirty-data-sdk/src/main/java/org/apache/inlong/sdk/dirtydata/InlongSdkDirtySender.java b/inlong-sdk/dirty-data-sdk/src/main/java/org/apache/inlong/sdk/dirtydata/InlongSdkDirtySender.java index 681b9f549c..243b4d12e1 100644 --- a/inlong-sdk/dirty-data-sdk/src/main/java/org/apache/inlong/sdk/dirtydata/InlongSdkDirtySender.java +++ b/inlong-sdk/dirty-data-sdk/src/main/java/org/apache/inlong/sdk/dirtydata/InlongSdkDirtySender.java @@ -83,6 +83,7 @@ private void doSendDirtyMessage() { try { DirtyMessageWrapper messageWrapper = dirtyDataQueue.poll(); if (messageWrapper == null) { + Thread.sleep(100L); continue; } messageWrapper.increaseRetry();