bf2fc6cc711aee1a0c2a / kas-fleetshard

The kas-fleetshard-operator is responsible for provisioning and managing instances of kafka on a cluster. The kas-fleetshard-synchronizer synchronizes the state of a fleet shard with the kas-fleet-manager.
Apache License 2.0
7 stars 20 forks source link

MGDSTRM-10985 accounting for the possibility of competing operators #886

Closed shawkins closed 1 year ago

shawkins commented 1 year ago

With later josdk we'll likely enable leader election.

MikeEdgar commented 1 year ago

Can we use io.javaoperatorsdk.operator.api.config.LeaderElectionConfiguration even with the current platform?

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

shawkins commented 1 year ago

Can we use io.javaoperatorsdk.operator.api.config.LeaderElectionConfiguration even with the current platform?

There have been a lot of fixes / improvements in the leader election logic since 5.12.4, I'm honestly not sure if a 5.x version is appropriate for general use - I was just going to wait until we were on a later version.

MikeEdgar commented 1 year ago

Ok, got it. I didn't realize it might not be ready.