dengliming opened a new pull request, #7275: URL: https://github.com/apache/shenyu/pull/7275
## Summary - Use CallerRunsPolicy for the Aliyun SLS, Huawei LTS and Tencent CLS callback executors so saturation applies backpressure rather than rejecting completion callbacks. - Preserve bounded queues/thread counts and the existing 60-second keepalive. Fixes #6794 ## Scope clarification - The keepalive unit portion was already fixed on master by #6996 (`6e9880d7b`); this PR does not duplicate it. - These executors dispatch `Futures.addCallback` callbacks, not the SDK send operation itself. This prevents callback rejection under saturation, not all possible SDK-side log loss. Shutdown behavior remains separate. ## Validation - `./mvnw -pl shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-huawei-lts,shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-aliyun-sls,shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-tencent-cls -am -Dtest=CloudLogCallbackBackpressureTest -DfailIfNoTests=false test` - Checkstyle enabled. Each test obtains the actual configured executor, blocks its worker, fills the bounded queue, and verifies the next callback runs on the submitting thread without rejection. Keepalive remains 60 seconds. No cloud services are contacted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
