Skip to content

[improve][pip] PIP-315: Configurable max delay limit for delayed delivery#21490

Merged
lhotari merged 10 commits into
apache:masterfrom
KevinLiLu:pip-315
Dec 1, 2023
Merged

[improve][pip] PIP-315: Configurable max delay limit for delayed delivery#21490
lhotari merged 10 commits into
apache:masterfrom
KevinLiLu:pip-315

Conversation

@KevinLiLu

@KevinLiLu KevinLiLu commented Oct 31, 2023

Copy link
Copy Markdown
Contributor

PIP-315: Configurable max delay limit for delayed delivery

Motivation

Currently there is no max delay limit so a producer can specify any delay when publishing a message.

The purpose of this PIP is to introduce an optional configuration to limit the max allowed delay for delayed delivery.

Modifications

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

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

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions

Copy link
Copy Markdown

@KevinLiLu Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

@github-actions github-actions Bot added doc-required Your PR changes impact docs and you will update later. doc-not-needed Your PR changes do not impact docs and removed doc-label-missing doc-required Your PR changes impact docs and you will update later. labels Oct 31, 2023
@KevinLiLu

Copy link
Copy Markdown
Contributor Author

Hi @codelipenghui @jiazhai @merlimat @coderzc @wolfstudy @315157973, I saw you worked on delayed delivery code in the past. Would you mind providing some thoughts on this PIP? Thanks!

@KevinLiLu

Copy link
Copy Markdown
Contributor Author

Hi @lhotari @tisonkun @mattisonchao @rdhabalia @poorbarcode @Technoboy- , could you review this PIP when you get a chance? Thanks!

Comment thread pip/pip_315.md Outdated
Comment thread pip/pip_315.md Outdated
@315157973

Copy link
Copy Markdown
Contributor

This proposal needs to be voted in dev mail list at first

@KevinLiLu

Copy link
Copy Markdown
Contributor Author

Hi @315157973 @coderzc, I have started the vote thread and added the link.

@lhotari lhotari 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.

Great work, @KevinLiLu! This is a very well written PIP. I'll follow up on the voting thread soon.

@lhotari lhotari merged commit 575a484 into apache:master Dec 1, 2023
@Technoboy- Technoboy- added this to the 3.2.0 milestone Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs type/PIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants