Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@YoWuwuuuw
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Optimisation Points:
If you need to collect seata-server logs to Kafka and logstash, you need to modify the logback-spring.xml configuration file (uncomment the corresponding appender), and you need to revise the specific configuration of Kafka-appender by revising kafka-appender.xml and application.yml.
It's a hassle.

Optimisation Scheme: Establish SpringProperty mapping
The configuration of open Kafka, logstash and metric's appender will be transferred to application.yml.
Transfer the specific configuration of Kafka to application.yml.

About dynamic updates to configuration changes
in logback-spring.xml,
configuration scan="true" scanPeriod="60 seconds" debug="false"
The configuration is scaned every minute, so if you introduce a configuration center to change the yml configuration, it is visible to logback originally.

Ⅱ. Does this pull request fix one issue?

#4648

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov
Copy link

codecov bot commented Mar 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.22%. Comparing base (b0edff0) to head (dc99ad6).
Report is 2 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #7259      +/-   ##
============================================
- Coverage     54.24%   54.22%   -0.02%     
  Complexity     7266     7266              
============================================
  Files          1178     1178              
  Lines         41952    41958       +6     
  Branches       4923     4925       +2     
============================================
- Hits          22758    22753       -5     
- Misses        17040    17053      +13     
+ Partials       2154     2152       -2     

see 3 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slievrly slievrly added this to the 2.4.0 milestone Apr 2, 2025
@slievrly slievrly merged commit e8a1d40 into apache:2.x Apr 2, 2025
5 of 6 checks passed
slievrly pushed a commit to slievrly/fescar that referenced this pull request Oct 21, 2025
YvCeung pushed a commit to YvCeung/incubator-seata that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants