So I've been thinking about AI and the next steps towards something interesting... which lead me to streams of consciousness, and the infrastructure of thinking.
Long story short (old-guy speak for TL;DR), this triggered an interest in messaging and streams, specifically Apache Kafka and Rabbit MQ. Today's tale is one of rabbits. It should be noted that my rabbits are still just kits - I'm writing this on day three of my RabbitMQ journey.
Day One Aims
Focus on a repeatable installation of a RabbitMQ cluster, familiarisation with operating the server, sending and receiving messages.
The Overall Result
It was surprisingly easy to install and configure a RabbitMQ Cluster - the scripting is all below. It feels solid.
Follow-up
Investigate Federation - perhaps a cluster is not actually needed?
Day Two: Do the Tutorials.
Day Three: Write up findings.
Environment
I'm running Debian Stable - v12.3 Bookworm. Today is Thursday 14-Dec-2023. I have four hosts: 1 in Australia, 1 in New Zealand and 2 in the UK. The whole install and basic test takes just under 7 minutes, without any effort to parallelise.
Installation Stages
Configuration
Tweak this for your setup.
Install the Software
Went surprisingly well - feels like a solid clean process 👍🏻.
Create a Cluster
Again, simple and reliable.
Create an Admin User
Once this is done you can login to the web interface with the admin credentials. My dashboard is at http://fogh:15672 - note the port, and be aware it listens on 0.0.0.0!
Setup Test VHost and User
A vhost is like an Apache vhost - it is a context, domain or app within the cluster that will contain exchanges, queues, users etc. I haven't yet found the RabbitMQ Concept Dictionary, so this is inferred, and I'm not yet clear on exchanges and binding 🤷🏻♂️.
Get Test Pumping
He said: "You need to create exchanges, queues, and bindings for your vhost.". I hope to eventually find basic explanations of what an exchange and a binding is. Queue seems self-explanatory.
Now we have to infer concepts and play around with messaging and reliability.
Day Two will be focused on the tutorials.
Jeff, 2023/12/13 05:32
Nuke RabbitMQ
If you want to re-run the whole install. Be careful - there is no confirmation before RabbitMQ is nuked on all hosts!