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:
12
redpanda/start.sh
Executable file
12
redpanda/start.sh
Executable 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
|
||||
Reference in New Issue
Block a user