npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@azbake/ingredient-service-bus-queue

v0.1.115

Published

Ingredient for deploying a service bus queue.

Downloads

27

Readme

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 / parameter|required|description| |---------|--------|-----------| | serviceBusNamespaceName | Yes | Name of the Service Bus namespace. | | serviceBusQueueName | Yes | Name of the Queue. | | resourceGroup | No | Name of the resource group. When set, it overrides the resource group of the Bake recipe deployment context. | | lockDuration | No | ISO 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. | | maxSizeInMegabytes | No | The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024. | | requiresDuplicateDetection | No | A value indicating if this queue requires duplicate detection. | | requiresSession| No | A value that indicates whether the queue supports the concept of sessions. | | defaultMessageTimeToLive | No | ISO 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. | | deadLetteringOnMessageExpiration | No | A value that indicates whether this queue has dead letter support when a message expires. | | duplicateDetectionHistoryTimeWindow | No | ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. | | maxDeliveryCount | No | The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10. | | autoDeleteOnIdle | No | ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes. | | enablePartitioning | No | A value that indicates whether the queue is to be partitioned across multiple message brokers. | | enableExpress | No | A 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