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

29
redpanda/redpanda.yaml Normal file
View File

@@ -0,0 +1,29 @@
# Redpanda configuration for Smart City Digital Twin Martinique
# Minimal working config - Kafka + Admin API only
redpanda:
node_id: 0
data_directory: /var/lib/redpanda/data
kafka_api:
- name: internal
address: 0.0.0.0
port: 9092
advertised_kafka_api:
- name: internal
address: smart-city-redpanda
port: 9092
admin:
- address: 0.0.0.0
port: 9644
# Seastar settings
seastar:
smp: 1
memory: 1G
reserve_memory: 256M
overprovisioned: true
developer_mode: true