Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd committed Feb 5, 2025
1 parent c61c192 commit 3401270
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ public abstract class AbstractTopic implements Topic, TopicPolicyListener {

protected final String topic;

// createFuture associated with the topic to ensure safe removal from the cache of brokerService
// Reference to the CompletableFuture returned when creating this topic in BrokerService.
// Used to safely remove the topic from BrokerService's cache by ensuring we remove the exact
// topic instance that was created.
@Getter
@Setter
protected volatile CompletableFuture<Optional<Topic>> createFuture;
Expand Down

0 comments on commit 3401270

Please sign in to comment.