Questions Management – Support Turbine Stream – Initialize support-turbine-stream project using Spring Tool Suite

Check out the full series of Questions Management tutorial here.

After having Monitor Dashboard, it’s time to use Turbine Stream to combine data from services and display on Dashboard. You can read more about Turbine Stream here to know more. In this tutorial, I will create a support-turbine-stream project to do this.

In the New Spring Starter Project window, after entering information about our project, the Location section you need to point to the support folder of the questions-management project:

Questions Management – Support Turbine Stream – Initialize support-turbine-stream project using Spring Tool Suite

In the section of choosing dependencies, we will add Turbine Stream and RabbitMQ as follows:

Questions Management – Support Turbine Stream – Initialize support-turbine-stream project using Spring Tool Suite

Result:

Questions Management – Support Turbine Stream – Initialize support-turbine-stream project using Spring Tool Suite

Next, I will revise this project so that it uses the parent project of the questions-management project.

In the pom.xml file of this project, I will delete the <parent>, <properties> and the current <dependencyManagement> sections to declare to use parent project of the questions-management project as follows:

Then declare the support-turbine-stream project as a module of the questions-management project as follows:

Đánh giá bài viết
Chia sẽ bài viết này ...Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment