renxf0319 opened a new pull request, #7043: URL: https://github.com/apache/shenyu/pull/7043
### What this PR do Optimize logging‑kafka plugin performance: - Move producer.flush() out of record loop, flush once per batch logs instead of per record. - Avoid frequent blocking flush, restore kafka producer batch capability. - Minor optimize: extract config map outside loop, add topic blank defensive check, adjust log level. ### Background The original code calls producer.flush() after every record send, which disables Kafka batch mechanism and seriously degrades gateway throughput. -- 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]
