0.1.114 • Published 1 year ago

@azbake/ingredient-service-bus-queue v0.1.114

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Changelogs

Overview

The Service Bus Queue ingredient is a plugin. When included in a recipe, it creates or updates a service bus queue.

This ingredient does not deploy a service bus namespace. It expects the namespace to already exist. The namespace can be created in another recipe or within the same recipe.

Usage

Recipe

name: service-bus-queue-test
shortName: sbqueuetest
version: 0.1.0
ingredients:
  - "@azbake/ingredient-service-bus-queue@~0"
resourceGroup: true
#rgOverride: "" 
variables:
  serviceBusNamespaceName: test-service-bus
  serviceBusQueueName: test-service-bus-queue-1
  queueResourceGroup: test-rg
  lockDuration: PT1M
  maxSizeInMegabytes: 1024
  requiresDuplicateDetection: False
  requiresSession: False
  defaultMessageTimeToLive: P10675199DT2H48M5.4775807S
  deadLetteringOnMessageExpiration: False
  duplicateDetectionHistoryTimeWindow: PT10M
  maxDeliveryCount: 10
  autoDeleteOnIdle: P10675199DT2H48M5.4775807S
  enablePartitioning: False
  enableExpress: False
recipe:
  queues:
    properties:
      type: "@azbake/ingredient-service-bus-queue"
      source: ./arm.json
      parameters:
        serviceBusNamespaceName: "[coreutils.variable('serviceBusNamespaceName')]"
        serviceBusQueueName: "[coreutils.variable('serviceBusQueueName')]"
        resourceGroup: "[coreutils.variable('queueResourceGroup')]"
        lockDuration: "[coreutils.variable('lockDuration')]"
        maxSizeInMegabytes: "[coreutils.variable('maxSizeInMegabytes')]"
        requiresDuplicateDetection: "[coreutils.variable('requiresDuplicateDetection')]"
        requiresSession: "[coreutils.variable('requiresSession')]"
        defaultMessageTimeToLive: "[coreutils.variable('defaultMessageTimeToLive')]"
        deadLetteringOnMessageExpiration: "[coreutils.variable('deadLetteringOnMessageExpiration')]"
        duplicateDetectionHistoryTimeWindow: "[coreutils.variable('duplicateDetectionHistoryTimeWindow')]"
        maxDeliveryCount: "[coreutils.variable('maxDeliveryCount')]"
        autoDeleteOnIdle: "[coreutils.variable('autoDeleteOnIdle')]"
        enablePartitioning: "[coreutils.variable('enablePartitioning')]"
        enableExpress: "[coreutils.variable('enableExpress')]"
property / parameterrequireddescription
serviceBusNamespaceNameYesName of the Service Bus namespace.
serviceBusQueueNameYesName of the Queue.
resourceGroupNoName of the resource group. When set, it overrides the resource group of the Bake recipe deployment context.
lockDurationNoISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
maxSizeInMegabytesNoThe maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
requiresDuplicateDetectionNoA value indicating if this queue requires duplicate detection.
requiresSessionNoA value that indicates whether the queue supports the concept of sessions.
defaultMessageTimeToLiveNoISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
deadLetteringOnMessageExpirationNoA value that indicates whether this queue has dead letter support when a message expires.
duplicateDetectionHistoryTimeWindowNoISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
maxDeliveryCountNoThe maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
autoDeleteOnIdleNoISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
enablePartitioningNoA value that indicates whether the queue is to be partitioned across multiple message brokers.
enableExpressNoA value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.

For additional details, see

Service Bus Queue SDK Documentation

Microsoft.ServiceBus Namespaces/Queues Template Reference

0.1.114

1 year ago

0.1.113

1 year ago

0.1.109

2 years ago

0.1.110

2 years ago

0.1.112

2 years ago

0.1.111

2 years ago

0.1.107

2 years ago

0.1.106

4 years ago

0.1.105

4 years ago

0.1.104

4 years ago

0.1.103

4 years ago

0.1.102

4 years ago

0.1.101

4 years ago

0.1.100

4 years ago

0.1.99

4 years ago

0.1.98

4 years ago

0.1.97

4 years ago

0.1.96

4 years ago

0.1.95

4 years ago

0.1.87

4 years ago

0.1.84

4 years ago