Skip to content
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

Use listening mode for apollo configuration. #11186

Merged
merged 4 commits into from Aug 8, 2023

Conversation

weixiang1862
Copy link
Member

listening mode

  • If this is non-trivial feature, paste the links/URLs to the design doc.

  • Update the documentation to include this new feature.

  • Tests(including UT, IT, E2E) are added to verify the new feature.

  • If it's UI related, attach the screenshots below.

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes Use long polling in apollo configuration module. #11180.

  • Update the CHANGES log.

@sonatype-lift
Copy link

sonatype-lift bot commented Aug 8, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@weixiang1862
Copy link
Member Author

I made this change, now oap can receive apollo changes immediately after it update:

26e4e3a13c28c33dd7cf58b19731556

@wu-sheng
Copy link
Member

wu-sheng commented Aug 8, 2023

If you change config mode, you should change the cluster coordinator as well?

@wu-sheng wu-sheng added this to the 9.6.0 milestone Aug 8, 2023
@wu-sheng wu-sheng added backend OAP backend related. feature New feature labels Aug 8, 2023
@weixiang1862
Copy link
Member Author

If you change config mode, you should change the cluster coordinator as well?

Cluster already works in listening mode, this feature is inspired by cluster module too.

@@ -471,7 +471,6 @@ configuration:
apolloCluster: ${SW_CONFIG_APOLLO_CLUSTER:default}
apolloEnv: ${SW_CONFIG_APOLLO_ENV:""}
appId: ${SW_CONFIG_APOLLO_APP_ID:skywalking}
period: ${SW_CONFIG_APOLLO_PERIOD:60}
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove this too in the configuration doc?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok.

Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

Thanks

@kezhenxu94 kezhenxu94 merged commit 64b24f7 into apache:master Aug 8, 2023
162 of 163 checks passed
kezhenxu94 pushed a commit to kezhenxu94/skywalking that referenced this pull request Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend OAP backend related. feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants