How to get visualization of a cross-application Spring stream integration?

We have a microservice architecture, i.e. each of the main components of our system is designed to run as a separate Java application (jar or war).

We use Spring Integration to facilitate communication between components (through the MQ service).

How can we get a graphical diagram of the whole system integration level, given that each component has its own Spring XML configurator?

Please note that we know how to do this within a single application. The question is how to make this cross-application.

Example: Component 1 generates a POJO stream β†’ MQ β†’ Component 2 serializes the graph of a POJO object to JSON β†’ MQ β†’ Component 3 stores JSON in DB

Also, if a viable solution would be to create a single Spring integration configuration, then how do you make sure all of its components are using?

+6
source share
2 answers

Currently, this seems to be impossible to do easily.

In my research, I came to the conclusion that the only way is to use external tools:

  • New Relic Service Card - Commercial. Probably only schemes of working microservice systems, because it is a monitoring system.
  • AppDynamics - Commercial. Probably only schemes of working microservice systems, because it is a monitoring system.
  • Spigo is open source. One could analyze Spring's integration of XML configurations, generate input for Spigo, and generate a graph.
  • micro-infra-spring - open source. For diagrammed working microservice systems. Requires ZooKeeper.
+5
source

You can also use Twitter Zipkin and hopefully Spring Cloud Sleuth pretty soon to follow along.

+2
source

Source: https://habr.com/ru/post/989738/


All Articles