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

#717 Runtime activation of ETCD Config Sources #720

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gyengus
Copy link

@gyengus gyengus commented Dec 2, 2024

No description provided.

@gyengus gyengus requested review from a team as code owners December 2, 2024 15:12
rombow
rombow previously approved these changes Dec 2, 2024
@rombow rombow linked an issue Dec 2, 2024 that may be closed by this pull request
@@ -34,9 +35,10 @@
*/
public class CachedEtcdConfigSource extends DefaultEtcdConfigSource {

static boolean active = false;
Copy link
Contributor

@mate-biro mate-biro Dec 14, 2024

Choose a reason for hiding this comment

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

A feladat leírásban, azzal hogy "active flag is needed with an extension of CachedEtcdConfigSource", arra utaltam, hogy ezt a runtime active flag kezelést egy leszármazottba kellene tenni, hogy aki ezt a CachedEtcdConfigSource-ot használja, azt ne befolyásolja. Így, hogy itt van default active = false-al, így rá van minden használó kényszerítve, hogy futásidőben is aktiválja a config source-t, de ez nem minden esetben kell, hogy így működjön, csak ha külön arra van igény.

Copy link
Author

Choose a reason for hiding this comment

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

Elnézést, félre értettem a feladatot.

@@ -34,9 +35,10 @@
*/
public class CachedEtcdConfigSource extends DefaultEtcdConfigSource {
Copy link
Contributor

@mate-biro mate-biro Dec 14, 2024

Choose a reason for hiding this comment

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

FilteredEtcdConfigSource is szerepel a feladatleírásban. Ahhoz is hasznos lenne egy ilyen megoldás a jövőre nézve. Vagy volt valami oka, hogy az nem lett kiterjesztve?

Copy link
Author

Choose a reason for hiding this comment

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

Bocs, elkerülte a figyelmem, pótoltam.

Copy link
Contributor

Choose a reason for hiding this comment

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

[source,java]
----
CachedEtcdConfigSource.setActive(true);
----
Copy link
Contributor

@mate-biro mate-biro Dec 14, 2024

Choose a reason for hiding this comment

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

majd release-notes-ot is írj kérlek

Copy link
Author

Choose a reason for hiding this comment

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

Még nem találtam meg, hova kell. Tudsz segíteni?

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.

Runtime activation of ETCD Config Sources
4 participants