Publish and Subscribe / Process / Store
- Kafka uses ZooKeeper as a distributed backend.
--- | |
- hosts: localhost | |
pre_tasks: | |
- name: "apt install curl" | |
apt: | |
name: curl | |
state: latest |
git pull # Pull first or lose ANY commits upstream | |
git branch -m master main # Rename branch locally | |
echo | |
echo "Change GitHub default branch to 'main'." | |
echo | |
echo "Is GitHub Default Branch 'main'?" | |
echo | |
read -p "Press ENTER to continue" | |
echo |
#!/usr/bin/env ruby | |
require 'redis' | |
# gem install redis | |
## | |
## Connect to DB | |
## | |
redis = Redis.new(host: "localhost") |
If you do, or want to, use AWS to deploy your apps, you will end up using AWS SES via SMTP when you're launching an app that sends out emails of any kind (user registrations, email notifications, etc). For example, I have used this configuration on various Ruby on Rails apps, however, it is just basic SMTP configurations and crosses over to any framework that supports SMTP sendmail.
There are two ways to go about this:
Luckily, you found this MD file and the NOT SO EASY WAY is suddenly copy-pasta... sudo yum....