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

Add constants for Queue arguments #145

Merged
merged 2 commits into from
Dec 22, 2022
Merged

Conversation

Zerpet
Copy link
Contributor

@Zerpet Zerpet commented Dec 22, 2022

Queues accept optional arguments during queue declaration. Most of those
arguments can be set using a policy (recommended), however, queue type
must be set at queue declaration. To pave the way for Quorum and Stream
queue adoption, this commit adds constants to easily set the queue type.

Other common used arguments are part of this commit. Additional queue
arguments can be added as needed/requested by the community.

Queues accept optional arguments during queue declaration. Most of those
arguments can be set using a policy (recommended), however, queue type
must be set at queue declaration. To pave the way for Quorum and Stream
queue adoption, this commit adds constants to easily set the queue type.

Other common used arguments are part of this commit. Additional queue
arguments can be added as needed/requested by the community.

Signed-off-by: Aitor Pérez Cedres <acedres@vmware.com>
@Zerpet Zerpet added this to the 1.6.0 milestone Dec 22, 2022
@Zerpet Zerpet added the enhancement New feature or request label Dec 22, 2022
@Zerpet Zerpet linked an issue Dec 22, 2022 that may be closed by this pull request
Copy link
Contributor

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

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

I made one small change. I realize it's not necessary but it caught me by surprise that it worked (https://go.dev/ref/spec#Constant_declarations)

@lukebakken lukebakken merged commit 0c7af02 into main Dec 22, 2022
@lukebakken lukebakken deleted the queue-declaration-helpers branch December 22, 2022 16:38
@Zerpet Zerpet mentioned this pull request Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helper types to declare quorum queues
2 participants