00:00:05 Hi, and welcome to Mia-Platform Video Pills.
00:00:07 In this video, we will show you Mia-Platform Bucket Storage.
00:00:11 Bucket Storage extends the functionality of Mia-Platform Fast Data and provides storage of raw data.
00:00:16 This data is ready to be re-injected when needed or can be served to business intelligence, relieving DB administration. To better understand how it works, we will only show you the microservices to be installed in a use case.
00:00:29 As you can see, we have already set up the Mia-Platform Fast Data projections with a ER Schema with these entries: customer, order, and product.
00:00:37 In addition, we already have a Single View called Order History.
00:00:42 Let's install the first microservice.
00:00:45 Go to the microservices section and search for the Ingestion Storage Service.
00:00:52 During installation, remember to set the correct environment variables, configuration maps and Secret Keys.
00:01:11 Let’s deploy it We can now see that we have our empty bucket.
00:01:34 With Postman, we populate our bucket with the customer.
00:01:41 Now we can see that we have generated a new customer.
00:01:44 We now install the second microservice we need: Ingestion Reloader.
00:01:51 Find it on Mia-Platform marketplace and install it with all the configurations and secrets as we did before.
00:02:03 Expose the API and deploy it.
00:02:17 Now we can take a look at our use case.
00:02:20 In MongoDB, we already have some pre-filled data, topics already mentioned at the beginning of this video.
00:02:26 As you can see, we have a customer, some orders, a single view that aggregates the orders, a number of products and returning to the single view, within the orders we can see the products.
00:02:38 Let us switch to our bucket and see that we have folders for each topic.
00:02:45 For example, we can see the orders here.
00:02:48 Now we delete our orders and show how to reinject the same data from the bucket.
00:02:53 The order collection is now empty.
00:02:56 We also have no data in the Single View.
00:03:00 To reingest the data, we go to Postman.
00:03:03 We declare that we want to input order data.
00:03:06 Let's click on Send.
00:03:12 Now, going back to MongoDB, you can see again orders both in the topic and in the single view.
00:03:19 The main benefits of Bucket Storage include: providing large storage space at a reduced cost, becoming an easily accessible repository for backup and compliance reasons, enabling easy exposure of data to business intelligence tools.
00:03:33 Try it with Mia-Platform v11.