Skip to content

Add support for subscription expiration time namespace settings - #1254

Merged
RobertIndie merged 6 commits into
masterfrom
unknown repository
Jul 27, 2024
Merged

RobertIndie merged 6 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jul 19, 2024 •

Copy link
Copy Markdown

Fixes #1253

Motivation

Adds support for the get / set / delete subscriptionExpirationTime namespace settings.

Modifications

Created new functions in namespace.go that implement support for subscriptionExpirationTime settings

Verifying this change

  • Make sure that the change passes the CI checks.

    • Added integration tests for new client functions

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / GoDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@ghost ghost changed the title Add support for subscription expiration namespace settings Add support for subscription expiration time namespace settings Jul 19, 2024

@RobertIndie RobertIndie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Please fix the conflict

@RobertIndie RobertIndie assigned ghost Jul 22, 2024
@RobertIndie RobertIndie added this to the v0.14.0 milestone Jul 22, 2024
@ghost

ghost commented Jul 22, 2024

Copy link
Copy Markdown
Author

Thanks for the review @RobertIndie , I have fixed the merge conflicts

@ghost
ghost requested a review from RobertIndie July 22, 2024 19:16
@RobertIndie

Copy link
Copy Markdown
Member

Please take a look at this compilation error: https://github.com/apache/pulsar-client-go/actions/runs/10045685387/job/27779892242?pr=1254#step:5:30

  Error: pulsaradmin/pkg/admin/namespace_test.go:234:11: undefined: admin

@klevy-toast

@ghost

ghost commented Jul 23, 2024

Copy link
Copy Markdown
Author

Thanks, fixed @RobertIndie

@RobertIndie

Copy link
Copy Markdown
Member

There are still some lint issues. If you are using macos or linux, you can run make lint to check locally.

@ghost

ghost commented Jul 26, 2024

Copy link
Copy Markdown
Author

@RobertIndie thanks, fixed.

Is there a way for me to run the build independently? It's a bit annoying that I cannot see what issues are failing the build until a maintainer triggers it.

@RobertIndie

Copy link
Copy Markdown
Member

Is there a way for me to run the build independently? It's a bit annoying that I cannot see what issues are failing the build until a maintainer triggers it.

You can run make build to build it locally. To check for CI failures, you can open a pull request in your own repository. This allows you to review any CI issues directly.

@RobertIndie
RobertIndie merged commit c74460d into apache:master Jul 27, 2024
@ghost

ghost commented Jul 28, 2024

Copy link
Copy Markdown
Author

Is there a way for me to run the build independently? It's a bit annoying that I cannot see what issues are failing the build until a maintainer triggers it.

You can run make build to build it locally. To check for CI failures, you can open a pull request in your own repository. This allows you to review any CI issues directly.

That's great info, can it be added to the contributing guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add namespaces subscriptionExpirationTime commands

2 participants