This is an automated email from the ASF dual-hosted git repository.
zhaocong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new f39e1726aae [improve][pip] Improve PIP-278 - Add close method for
TopicCompactionService (#20786)
f39e1726aae is described below
commit f39e1726aaed770f24f4dcf3613696efe65c129c
Author: Cong Zhao <[email protected]>
AuthorDate: Tue Jul 18 00:14:35 2023 +0800
[improve][pip] Improve PIP-278 - Add close method for
TopicCompactionService (#20786)
---
pip/pip-278.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pip/pip-278.md b/pip/pip-278.md
index d3b142d5f77..0b620300de3 100644
--- a/pip/pip-278.md
+++ b/pip/pip-278.md
@@ -87,6 +87,7 @@ classDiagram
+ getCompactedLastPosition() CompletableFuture~Position~
+ readCompactedLastEntry() CompletableFuture~Entry~
+ getCompactedTopic() CompactedTopicImpl
+ + close() void
}
class TopicCompactionService {
<<Interface>>
@@ -118,7 +119,7 @@ classDiagram
```java
import javax.annotation.Nonnull;
- public interface TopicCompactionService {
+ public interface TopicCompactionService extends AutoCloseable {
/**
* Compact the topic.
* Topic Compaction is a key-based retention mechanism. It keeps the
most recent value for a given key and