Giter Site home page Giter Site logo

devopsifyme-sbemulator's Introduction

DevOpsifyMe - Azure Service Bus Emulator

Emulator is really an AMQP 1.0 proxy that translates Azure Service Bus specifics into backend implementation specifics. Backend is an actual queue implementation that runs locally, not in cloud, and handles the messages. The main use case is to help with local development experience and with integration testing where application code cannot change driver easily.

See instructions for

At the moment following backends are supported:

  • RabbitMQ (AMQP 0.9)
  • InMemory (only simple message pipe)

Other backends possible to get implemented:

  • Azure Storage Queue (with local Azurite emulator)
  • Apache ActiveMQ (also local, supports AMQP 1.0)
  • other per need basis

How to run?

See instructions for running from Docker, or for running from Package.

  • Add /docker/testca/cacert.cer to Trusted Root on your local machine
  • Start RabbitMQ container, or use any other installation you might already have
  • Start ServiceBusEmulator, change configuration if needed
  • Update connection string in your application :)

"Endpoint=sb://localhost/;SharedAccessKeyName=all;SharedAccessKey=CLwo3FQ3S39Z4pFOQDefaiUd1dSsli4XOAj3Y9Uh1E=;EnableAmqpLinkRedirect=false"

Supported Features

Current implementation is considered experimental, but from initial tests it works pretty well with standard Azure Functions triggers and outputs. So messages are going through queues, topics and subscriptions. Following features are supported:

  • Sending, Receiving, Batching, Peeking messages, including metadata
  • Message Annotations: TTL, ID, Header, ApplicationData, and more
  • Queues, Topics and Subscriptions
  • Dead Letter Queues
  • Renew Locks (dummy)

Not Supported Features

  • Message Annotations: partitions, groups, reply-to and more (ignored)
  • Sessions, Transactions
  • Scheduled and Delayed messages
  • Rules
  • Any AMQP Draft Extensions
  • Any Advanced Flow Control
  • Not for production use, ever

devopsifyme-sbemulator's People

Contributors

dra9ula avatar piotr-rojek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.