Skip to content

Conversation

@statickidz
Copy link
Member

Description

This PR adds support for queue capabilities configuration in the Queue service API. This enables users to configure capabilities such as consumer groups when creating or updating queues.

Changes Made

This PR introduces the QueueCapability model and integrates it into queue creation, update, and retrieval operations:

  1. New Model: QueueCapability (queue/queue_capability.go)

    • Type (string, optional): The type of capability (e.g., "CONSUMER_GROUPS")
    • IsPrimaryConsumerGroupEnabled (bool, optional): Whether the primary consumer group is enabled for this capability
  2. Updated Models:

    • CreateQueueDetails: Added Capabilities []QueueCapability field
    • UpdateQueueDetails: Added Capabilities []QueueCapability field
    • Queue: Added Capabilities []QueueCapability field

Signed-off-by: Adrian Barrio Andres <adrian.barrio.andres@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 12, 2025
@statickidz statickidz changed the title Add Queue Capabilities support Add Queue capabilities support Nov 12, 2025
Copy link

@dcristobalhMad dcristobalhMad left a comment

Choose a reason for hiding this comment

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

This LGTM

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

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants