-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
feat: support incremental configuration synchronization client #5373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jackie-coming
wants to merge
35
commits into
apolloconfig:master
Choose a base branch
from
jackie-coming:feautre/IncrementalSync
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4e8a699
init
jackie-coming 26a0e1b
init config
jackie-coming 2dd9352
code review
jackie-coming b13968c
add test
jackie-coming 24bda1d
add test
jackie-coming cf5145f
add test
jackie-coming 8cafda2
code format
jackie-coming 72676c0
code format
jackie-coming 065a092
feat: support incremental configuration synchronization client
jackie-coming e69f098
Merge remote-tracking branch 'origin/feautre/IncrementalSync' into fe…
jackie-coming a6a412a
code format
jackie-coming 07bb41c
feat: support incremental configuration synchronization client
jackie-coming a4b356c
code format
jackie-coming 5e37f55
update pom version
jackie-coming 8512776
code format
jackie-coming 5a76da9
code format
jackie-coming a4a2d05
code format
jackie-coming 04f50ac
Merge branch 'master' into feautre/IncrementalSync
nobodyiam 1b20e4e
update flag
jackie-coming 4f06613
Merge remote-tracking branch 'origin/feautre/IncrementalSync' into fe…
jackie-coming 26e8db5
Merge branch 'up_master' into feautre/IncrementalSync
jackie-coming 56df3a8
code refactor
jackie-coming 3e9151f
merge master
jackie-coming 34b390d
refactor IncrementalSync
jackie-coming 9bba12c
refactor IncrementalSync
jackie-coming d4ec343
Merge branch 'master' into feautre/IncrementalSync
nobodyiam ab0264a
Update apollo-configservice/src/main/java/com/ctrip/framework/apollo/…
jackie-coming 2d09cb3
Update apollo-configservice/src/main/java/com/ctrip/framework/apollo/…
jackie-coming b27adb0
Update pom.xml
jackie-coming 5fb6535
Update docs/zh/deployment/distributed-deployment-guide.md
jackie-coming e4b686f
refactor IncrementalSync
jackie-coming 6e8f215
Merge remote-tracking branch 'origin/feautre/IncrementalSync' into fe…
jackie-coming ca4a81b
refactor IncrementalSync
jackie-coming a0ee155
add test
jackie-coming ea5337d
add test
jackie-coming File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "java", | ||
"name": "Current File", | ||
"request": "launch", | ||
"mainClass": "${file}" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "LocalAdminServiceApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.LocalAdminServiceApplication", | ||
"projectName": "apollo-adminservice" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "AdminServiceApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.adminservice.AdminServiceApplication", | ||
"projectName": "apollo-adminservice" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "ApolloApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.assembly.ApolloApplication", | ||
"projectName": "apollo-assembly" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "LocalApolloApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.assembly.LocalApolloApplication", | ||
"projectName": "apollo-assembly" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "ApolloSqlConverter", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.build.sql.converter.ApolloSqlConverter", | ||
"projectName": "apollo-build-sql-converter" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "LocalConfigServiceApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.LocalConfigServiceApplication", | ||
"projectName": "apollo-configservice" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "ConfigServiceApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.configservice.ConfigServiceApplication", | ||
"projectName": "apollo-configservice" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "LocalPortalApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.LocalPortalApplication", | ||
"projectName": "apollo-portal" | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "PortalApplication", | ||
"request": "launch", | ||
"mainClass": "com.ctrip.framework.apollo.portal.PortalApplication", | ||
"projectName": "apollo-portal" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"java.compile.nullAnalysis.mode": "automatic", | ||
"java.configuration.updateBuildConfiguration": "automatic" | ||
} |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Improve exception handling for better troubleshooting
The current exception handling silently falls back to full sync without logging the error details, which could make debugging difficult in production.
Add logging to help troubleshoot sync issues:
📝 Committable suggestion
🤖 Prompt for AI Agents