Skip to content

Support topicl level offload #7883

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

Merged
merged 13 commits into from
Sep 4, 2020
Merged

Support topicl level offload #7883

merged 13 commits into from
Sep 4, 2020

Conversation

315157973
Copy link
Contributor

Motivation

Support set Offload Policy on topic level

Modifications

Support set/get/remove Offload policy on topic level.

Verifying this change

Added Unit test to verify set/get/remove Offload policy at Topic level work as expected when Topic level policy is enabled/disabled
org.apache.pulsar.broker.admin.AdminApiOffloadTest#testOffloadPoliciesApi
org.apache.pulsar.broker.admin.AdminApiOffloadTest#testTopicLevelOffload

@sijie sijie requested review from codelipenghui and jiazhai August 24, 2020 22:07
@sijie sijie added this to the 2.7.0 milestone Aug 24, 2020
@sijie sijie added component/topic-policy type/feature The PR added a new feature or issue requested a new feature labels Aug 24, 2020
Copy link
Contributor

@codelipenghui codelipenghui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, could you please also update the CmdTopics in the pulsar-client-tools ?

@codelipenghui codelipenghui added the doc-required Your PR changes impact docs and you will update later. label Aug 28, 2020
@315157973
Copy link
Contributor Author

Looks good, could you please also update the CmdTopics in the pulsar-client-tools ?

This has been solved

# Conflicts:
#	pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/Topics.java
#	pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java
#	pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/TopicPolicies.java
@codelipenghui
Copy link
Contributor

/pulsarbot run-failure-checks

@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

1 similar comment
@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

315157973 and others added 5 commits September 1, 2020 19:47

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui merged commit 62e3df3 into apache:master Sep 4, 2020
@315157973 315157973 deleted the offload branch September 4, 2020 02:12
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
### Motivation
Support set Offload Policy on topic level

### Modifications
Support set/get/remove Offload policy on topic level.

### Verifying this change
Added Unit test to verify set/get/remove Offload policy at Topic level work as expected when Topic level policy is enabled/disabled
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testOffloadPoliciesApi`
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testTopicLevelOffload`
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
### Motivation
Support set Offload Policy on topic level

### Modifications
Support set/get/remove Offload policy on topic level.

### Verifying this change
Added Unit test to verify set/get/remove Offload policy at Topic level work as expected when Topic level policy is enabled/disabled
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testOffloadPoliciesApi`
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testTopicLevelOffload`
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Sep 5, 2020
### Motivation
Support set Offload Policy on topic level

### Modifications
Support set/get/remove Offload policy on topic level.

### Verifying this change
Added Unit test to verify set/get/remove Offload policy at Topic level work as expected when Topic level policy is enabled/disabled
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testOffloadPoliciesApi`
`org.apache.pulsar.broker.admin.AdminApiOffloadTest#testTopicLevelOffload`
@codelipenghui codelipenghui mentioned this pull request Sep 9, 2020
14 tasks
@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 28, 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. type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants