Skip to content

Commit

Permalink
do not close pulsar client when a sort task exit
Browse files Browse the repository at this point in the history
  • Loading branch information
luchunliang committed Jan 27, 2025
1 parent b155956 commit 035482c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public boolean clean() {
}

closeFetcher();
closePulsarClient();
// closePulsarClient();
closeTubeSessionFactory();
LOGGER.info("close finished {}", sortTaskId);
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public boolean clean() {
LOGGER.info("start to clean topic manager, sortTaskId={}", sortTaskId);
stopAssign = true;
closeAllFetchers();
closeAllPulsarClients();
// closeAllPulsarClients();
closeAllTubeFactories();
LOGGER.info("success to clean topic manager, sortTaskId={}", sortTaskId);
return true;
Expand Down

0 comments on commit 035482c

Please sign in to comment.