Skip to content

Commit

Permalink
Pb with java future
Browse files Browse the repository at this point in the history
  • Loading branch information
larousso committed May 15, 2024
1 parent 626d9e6 commit 44ed85b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void crash() throws Exception {
return completableFuture;
} else {
names.set(names.get() + " " + messageAndIndex.first().record().value());
return CompletionStages.completedStage(messageAndIndex.first().committableOffset());
return CompletableFuture.completedStage(messageAndIndex.first().committableOffset());
}
})
);
Expand Down

0 comments on commit 44ed85b

Please sign in to comment.