IBMStockTrader / trade-history

Microservice that keeps a detailed history of all stock trades
Apache License 2.0
1 stars 19 forks source link

Ensure app does not start without successful mongo connection #30

Closed evie-lau closed 5 years ago

evie-lau commented 5 years ago

To avoid losing consumed data from the event stream, we need to make sure the app is able to connect to a mongo database at start time. The app should not consume anything if there is no mongo connection.