Skip to content

Commit

Permalink
debug group/topic removal issues
Browse files Browse the repository at this point in the history
  • Loading branch information
moscicky committed Aug 14, 2024
1 parent f445b92 commit ed38792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public void removeGroup(String groupName) {
paths.groupPath(groupName)
);
try {
logger.info("During group removal will remove paths: {}", pathsToDelete);
deleteInTransaction(pathsToDelete);
} catch (Exception e) {
logger.info("Failed to remove group: {}, children: {}", groupName, allChildrenPathsOf(paths.groupPath(groupName)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public void removeTopic(TopicName topicName) {
pathsForRemoval.add(paths.topicPath(topicName));

try {
logger.info("During topic removal will remove paths: {}", pathsForRemoval);
deleteInTransaction(pathsForRemoval);
} catch (Exception e) {
logger.info("Failed to remove topic: {}, children: {}", topicName, allChildrenPathsOf(paths.topicPath(topicName)));
Expand Down

0 comments on commit ed38792

Please sign in to comment.