Generating Enterprise Messaging artifact graphs with shell scripting and Graphviz - Part 2

preview_player
Показать описание
Looking at how one might visualize topics, queues, webhooks and subscriptions using Graphviz and a bit of shell scripting. In this Part 2 we make a start on retrieving the data that we need.

01:10 Introduction & news
09:10 Where we left off last time, the test dot definition & visualization
18:45 Finding the info for the definition from the management & messaging APIs
27:15 Buffering the API output in local files
29:42 A mini digression on the wonder of subshells
31:15 Starting to parse and process the API output
33:50 Initializing the graph shell script and adding things to it, incl. jq invocations
47:00 Introducing the Awk "pattern:action" language for processing text
50:00 Trying out some patterns in our first Awk script to process the API output
54:05 Emitting the data in the associative arrays we've built up for queues and topics
59:50 Starting to see a rough outline of what we want for our dot definition
1:00:05 A great question on data structure but we ran out of time and will pick up next time - another cliffhanger! :-)
Рекомендации по теме
visit shbcf.ru