Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support topic-level DeduplicationSnapshotInterval #8552

Merged
merged 4 commits into from
Nov 16, 2020

Conversation

315157973
Copy link
Contributor

Master Issue: #8237

Motivation

Currently we take de-duplication snapshots based on size. If the topic has relatively low traffic, the de-duplication cursor will not move. This can cause messages that are not able to be deleted based on the retention policy. We should add a policy to take de-duplication snapshots based on time.

Modifications

add api get/set/remove topic-level DeduplicationSnapshotInterval

Verifying this change

TopicDuplicationTest.java

@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.7.0 milestone Nov 13, 2020
@Huanli-Meng Huanli-Meng added the doc-required Your PR changes impact docs and you will update later. label Nov 13, 2020
@Huanli-Meng
Copy link
Contributor

Pulsar Admin API Doc should also be updated. So i add a doc-required label.

@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

1 similar comment
@zymap
Copy link
Member

zymap commented Nov 16, 2020

/pulsarbot run-failure-checks

@sijie sijie merged commit f8848c8 into apache:master Nov 16, 2020
flowchartsman pushed a commit to flowchartsman/pulsar that referenced this pull request Nov 17, 2020
Master Issue: apache#8237

### Motivation
Currently we take de-duplication snapshots based on size. If the topic has relatively low traffic, the de-duplication cursor will not move. This can cause messages that are not able to be deleted based on the retention policy. We should add a policy to take de-duplication snapshots based on time.

### Modifications
add api get/set/remove topic-level `DeduplicationSnapshotInterval`

### Verifying this change
TopicDuplicationTest.java
@315157973 315157973 deleted the deduplication-topic branch November 28, 2020 03:05
@Anonymitaet Anonymitaet added doc-complete Your PR changes impact docs and the related docs have been already added. and removed doc-required Your PR changes impact docs and you will update later. labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-complete Your PR changes impact docs and the related docs have been already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants