Demo app that uses AWS EventBridge, AWS SQS, and Scala 3 to ping and pong an ever incrementing integer.
+-----> +1 +-----+
| |
| v
+-----+-----+ +-----+-----+
| | | |
| Primary | | Secondary |
| | | |
+-----+-----+ +-----+-----+
^ |
| |
+-----+ +1 <-----+
SQS Queue -> Scala -> EventBridge -> SQS Queue ♲
sbt run
brandon_funland_primary
{
"source": [
"funland-primary"
]
}
Type | Name | Input |
---|---|---|
SQS queue | s2-BrandonsFunLand-secondary | Part of the matched event: $.detail |
brandon_funland_secondary
{
"source": [
"funland-secondary"
]
}
Type | Name | Input |
---|---|---|
SQS queue | s2-BrandonsFunLand | Part of the matched event: $.detail |