-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker] Fix heartbeat namespace create event topic and cannot delete heartbeat topic #21360
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
[fix][broker] Fix heartbeat namespace create event topic and cannot delete heartbeat topic #21360
Conversation
| public CompletableFuture<Void> updateTopicPoliciesAsync(TopicName topicName, TopicPolicies policies) { | ||
| if (NamespaceService.isHeartbeatNamespace(topicName.getNamespaceObject())) { | ||
| return CompletableFuture.failedFuture(new BrokerServiceException.NotAllowedException( | ||
| "Not allowed to send update event to health check topic")); |
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.
| "Not allowed to send update event to health check topic")); | |
| "Not allowed to update topic policy for the heartbeat topic")); |
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.
have done
…_and_cannot_delete_heartbeat_topic
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21360 +/- ##
============================================
- Coverage 73.27% 73.26% -0.02%
+ Complexity 32581 32576 -5
============================================
Files 1888 1888
Lines 140282 140283 +1
Branches 15415 15417 +2
============================================
- Hits 102790 102772 -18
- Misses 29415 29433 +18
- Partials 8077 8078 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…elete heartbeat topic (#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org> (cherry picked from commit 700a29d)
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
…elete heartbeat topic (apache#21360) Co-authored-by: fanjianye <fanjianye@bigo.sg> Co-authored-by: Jiwei Guo <technoboy@apache.org>
Motivation
Modifications
Verifying this change
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: TakaHiR07#17