-
Notifications
You must be signed in to change notification settings - Fork 217
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
SKYEDEN-3271 |hermes management leader #1934
SKYEDEN-3271 |hermes management leader #1934
Conversation
@@ -85,4 +89,12 @@ public SubscriptionLagSource consumerLagSource() { | |||
public Clock clock() { | |||
return new ClockFactory().provide(); | |||
} | |||
|
|||
@Bean | |||
ManagementLeadership inactiveTopicsDetectionLeader( |
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.
ManagementLeadership inactiveTopicsDetectionLeader( | |
ManagementLeadership managementLeadership( |
detection.inactive-topics.cron | cron expression for the detection job | 0 0 8 * * * | ||
detection.inactive-topics.notifications-history-limit | how many notification timestamps will be kept in history | 5 | ||
|
||
The detection job runs on a single instance of Hermes Management that is a | ||
leader based on the leader election Zookeeper instance. | ||
|
||
| Option | Description | Default Value | | ||
|-------------------------------------|----------------------------------------------------------------------------|---------------| | ||
| management.leadership.zookeeper-dc | Specifies the datacenter of the Zookeeper instance used for leader election in the detection job | dc | |
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.
Looks like the formatting is off because of the too long Description.
Moreover, maybe description should be updated here? It still refers to detection job
894f8bd
into
SKYEDEN-3234-detect-unused-topics
* SKYEDEN-3234 | Add marking and unmarking commands * SKYEDEN-3234 | Change to batch upserting * SKYEDEN-3234 | Implement zk unusted topics repo * SKYEDEN-3234 | Implement unused topics service * SKYEDEN-3234 | Add repo for last published message timestamp * SKYEDEN-3234 | Rename from read to get * SKYEDEN-3234 | Change last notified to list with timestamps * SKYEDEN-3234 | Implement unused topics detection job * SKYEDEN-3234 | Add tests for unused topics detection * SKYEDEN-3234 | Add detection job test * SKYEDEN-3234 | Refactor detection job test * SKYEDEN-3234 | Make unused topics notifier bean optional * SKYEDEN-3234 | Add scheduling * SKYEDEN-3234 | Add properties with default values * SKYEDEN-3234 | Add more logging and refactor * SKYEDEN-3234 | Rename from unused to inactive * SKYEDEN-3234 | Handle lack of last published message metrics * SKYEDEN-3234 | Do not call notifier when no inactive topics * SKYEDEN-3234 | Fix style * SKYEDEN-3234 | Add log when detection starts * SKYEDEN-3234 | Fix style * SKYEDEN-3234 | Add more logging * SKYEDEN-3234 | Move leader and config to separate classes * SKYEDEN-3234 | Change log message * SKYEDEN-3234 | Remove unnecessary annotation * SKYEDEN-3234 | Do not update notification timestamps when notification skipped * SKYEDEN-3234 | Add docs for inactive topics detection * SKYEDEN-3234 | Add notification result as return type of notifier * SKYEDEN-3234 | Add owner info to be used by notifier * SKYEDEN-3234 | Limit number of notification timestamps in history * SKYEDEN-3234 | Update docs * SKYEDEN-3234 | Specify shorter names to be saved in json * SKYEDEN-3271 |hermes management leader (#1934) * SKYEDEN-3271 |hermes management leader * SKYEDEN-3271 | cr changes * SKYEDEN-3234 | Remove unused property * SKYEDEN-3271 | fix leader path * Revert "Merge branch 'master' into SKYEDEN-3234-detect-unused-topics" This reverts commit 9545569, reversing changes made to 8194321. * Revert "Revert "Merge branch 'master' into SKYEDEN-3234-detect-unused-topics"" This reverts commit cf17940. * SKYEDEN-3234 | Add metrics for number of inactive topics * SKYEDEN-3234 | Remove * import --------- Co-authored-by: Marcin Bobiński <[email protected]> Co-authored-by: Marcin Bobinski <[email protected]>
* SKYEDEN-3234 | Add marking and unmarking commands * SKYEDEN-3234 | Change to batch upserting * SKYEDEN-3234 | Implement zk unusted topics repo * SKYEDEN-3234 | Implement unused topics service * SKYEDEN-3234 | Add repo for last published message timestamp * SKYEDEN-3234 | Rename from read to get * SKYEDEN-3234 | Change last notified to list with timestamps * SKYEDEN-3234 | Implement unused topics detection job * SKYEDEN-3234 | Add tests for unused topics detection * SKYEDEN-3234 | Add detection job test * SKYEDEN-3234 | Refactor detection job test * SKYEDEN-3234 | Make unused topics notifier bean optional * SKYEDEN-3234 | Add scheduling * SKYEDEN-3234 | Add properties with default values * SKYEDEN-3234 | Add more logging and refactor * SKYEDEN-3234 | Rename from unused to inactive * SKYEDEN-3234 | Handle lack of last published message metrics * SKYEDEN-3234 | Do not call notifier when no inactive topics * SKYEDEN-3234 | Fix style * SKYEDEN-3234 | Add log when detection starts * SKYEDEN-3234 | Fix style * SKYEDEN-3234 | Add more logging * SKYEDEN-3234 | Move leader and config to separate classes * SKYEDEN-3234 | Change log message * SKYEDEN-3234 | Remove unnecessary annotation * SKYEDEN-3234 | Do not update notification timestamps when notification skipped * SKYEDEN-3234 | Add docs for inactive topics detection * SKYEDEN-3234 | Add notification result as return type of notifier * SKYEDEN-3234 | Add owner info to be used by notifier * SKYEDEN-3234 | Limit number of notification timestamps in history * SKYEDEN-3234 | Update docs * SKYEDEN-3234 | Specify shorter names to be saved in json * SKYEDEN-3271 |hermes management leader (#1934) * SKYEDEN-3271 |hermes management leader * SKYEDEN-3271 | cr changes * SKYEDEN-3234 | Remove unused property * SKYEDEN-3271 | fix leader path * Revert "Merge branch 'master' into SKYEDEN-3234-detect-unused-topics" This reverts commit 9545569, reversing changes made to 8194321. * Revert "Revert "Merge branch 'master' into SKYEDEN-3234-detect-unused-topics"" This reverts commit cf17940. * SKYEDEN-3234 | Ui for inactive topics WIP * SKYEDEN-3234 | Change v-table to v-data-table * SKYEDEN-3234 | Add link to inactive topics * SKYEDEN-3234 | Add endpoint for inactive topics * SKYEDEN-3234 | show error when cannot fetch inactive topics * SKYEDEN-3234 | linting * SKYEDEN-3234 | Remove unnecessary fields * SKYEDEN-3234 | Add test for InactiveTopicsView * SKYEDEN-3234 | Add test for InactiveTopicsListing * SKYEDEN-3234 | Add test for UseInactiveTopics --------- Co-authored-by: Marcin Bobiński <[email protected]> Co-authored-by: Marcin Bobinski <[email protected]>
No description provided.