You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information about MDC see this [link](https://www.baeldung.com/mdc-in-log4j-2-logback).
625
641
@@ -688,27 +704,28 @@ for this feature.
688
704
689
705
## LeaderElection
690
706
691
-
Operators are generally deployed with a single running or active instance. However, it is
692
-
possible to deploy multiple instances in such a way that only one, called the "leader", processes the
693
-
events. This is achieved via a mechanism called "leader election".While all the instances are
694
-
running, and even start their event sources to populate the caches, only the leader will process
695
-
the events. This means that should the leader change for any reason, for example because it
696
-
crashed, the other instances are already warmed up and ready to pick up where the previous
707
+
Operators are generally deployed with a single running or active instance. However, it is
708
+
possible to deploy multiple instances in such a way that only one, called the "leader", processes the
709
+
events. This is achieved via a mechanism called "leader election".While all the instances are
710
+
running, and even start their event sources to populate the caches, only the leader will process
711
+
the events. This means that should the leader change for any reason, for example because it
712
+
crashed, the other instances are already warmed up and ready to pick up where the previous
697
713
leader left off should one of them become elected leader.
698
714
699
-
See sample configuration in the [E2E test](https://github.com/java-operator-sdk/java-operator-sdk/blob/8865302ac0346ee31f2d7b348997ec2913d5922b/sample-operators/leader-election/src/main/java/io/javaoperatorsdk/operator/sample/LeaderElectionTestOperator.java#L21-L23)
715
+
See sample configuration in
716
+
the [E2E test](https://github.com/java-operator-sdk/java-operator-sdk/blob/8865302ac0346ee31f2d7b348997ec2913d5922b/sample-operators/leader-election/src/main/java/io/javaoperatorsdk/operator/sample/LeaderElectionTestOperator.java#L21-L23)
0 commit comments