Files
smart-city-digital-twin-mar…/redpanda/start.sh
Eric FELIXINE 01c2be4930 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
2026-05-05 02:53:43 -04:00

13 lines
331 B
Bash
Executable File

#!/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