Part 3: store and react

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Architecture: Vector reads the telemetry topic on Amazon MSK as its own consumer group and writes line protocol to openGemini, moving its offset only after the write. A Knative KafkaSource with its own consumer group delivers each reading to the excursion handler, which reads the last five minutes from openGemini, opens one case in RDS for PostgreSQL and posts an alert to Alertmanager, which routes it to Teams and email. Prometheus platform rules also feed Alertmanager and Perses reads Prometheus. Grafana reads openGemini. An IoT Core location rule sends positions to an Amazon Location tracker; ENTER and EXIT events go through EventBridge and an API destination to a gateway on Knative, which passes them to the Kafka broker, and a geofence handler records each event once in RDS. A cron job writes mean kinetic temperature per delivered shipment to RDS.