Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shanepeckham/captureorderack

A containerised Go swagger API to capture orders, write them to MongoDb or CosmosDB and RabbitMQ or EventHubs.
https://github.com/shanepeckham/captureorderack

api azure cosmosdb docker event-sourcing eventhub eventhubs golang rabbitmq swagger

Last synced: about 1 month ago
JSON representation

A containerised Go swagger API to capture orders, write them to MongoDb or CosmosDB and RabbitMQ or EventHubs.

Awesome Lists containing this project

README

        

[![CircleCI](https://circleci.com/gh/shanepeckham/captureorderack/tree/master.svg?style=svg)](https://circleci.com/gh/shanepeckham/captureorderack/tree/master)

# CaptureOrder - TACK

A containerised Go swagger API to capture orders, write them to MongoDb.

The following environment variables need to be passed to the container:

### ACK Logging
```
ENV TEAMNAME=[YourTeamName]
```
### For Mongo
```
ENV MONGOHOST="mongodb://[mongoinstance].[namespace]"
```

### For RabbitMQ
```
ENV RABBITMQHOST=amqp://[url]:5672
ENV PARTITIONKEY=[0,1,2]
```
### For Event Hubs
```
ENV EVENTURL="https://[youreventhub].servicebus.windows.net/[eventhubname]"

ENV EVENTPOLICYNAME="[policy key name]"

ENV EVENTPOLICYKEY="[policy key]"

```