docs: add configuration architecture section to config-center README - #8204
Open
shenshichao163-oss wants to merge 1 commit into
Open
docs: add configuration architecture section to config-center README#8204shenshichao163-oss wants to merge 1 commit into
shenshichao163-oss wants to merge 1 commit into
Conversation
- Explain the relationship between application.yml and config.txt - Add architecture diagram showing config flow between server, config center, and client - Add FAQ section answering common questions about config placement Fixes apache#5608
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds a Configuration Architecture section to
script/config-center/README.mdto clarify the relationship between the two configuration files (application.ymlandconfig.txt) and how they relate to each other.Changes
Added a new section before "Script Introduction" that includes:
Explanation of the two configuration files:
application.yml— Server-side Spring Boot configuration (port, logging, config/registry/store type)config.txt— Client-side transaction configuration (transport, vgroup mapping, store settings)Architecture diagram showing the config flow:
application.yml→ connects to Config Centerconfig.txtcontent (pushed by scripts)FAQ section answering:
seata.config.nacos.data-idbe placed?config.txtdo?config.txtorapplication.yml?Issue Link
Fixes #5608
Motivation
Issue #5608 reports confusion about Seata configuration: which file goes where, what each config item means, and how
application.ymlandconfig.txtrelate to each other. This PR adds clear documentation directly in the config-center README to address these questions.Checklist