feat(simulator): real-time (1s), fix ENABLE_PULSAR, add Pulsar/Redpanda publish, fix InfluxDB URL

- Change INTERVAL to 1s for real-time sensor data
- Fix ENABLE_PULSAR comparison (accept 'true'/'false' strings)
- Add publish_pulsar() and publish_redpanda() functions
- Fix InfluxDB URL (smart-city-influxdb instead of digital-twin-influxdb)
- Add docker-compose.yml with simulator service
- Add redpanda config and start script
- Add session_resume_2026-05-05.md
This commit is contained in:
Eric FELIXINE
2026-05-05 02:53:43 -04:00
parent e618cbfcb9
commit 01c2be4930
6 changed files with 349 additions and 2 deletions

12
redpanda/start.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Start Redpanda with minimal dev config
exec /usr/bin/rpk redpanda start \
--mode dev \
--smp 1 \
--memory 1G \
--overprovisioned \
--kafka-addr 0.0.0.0:9092 \
--advertise-kafka-addr smart-city-redpanda:9092 \
--rpc-addr 0.0.0.0:33145 \
--advertise-rpc-addr smart-city-redpanda:33145 \
--check=false