Step 4: Route Selected Records
The checked-in reference sends each selected record to Kafka and a local file. The gateway remains outside Expanso's protocol boundary.
Reference configuration
output:
broker:
outputs:
- kafka:
addresses: ['${KAFKA_BROKERS:localhost:9092}']
topic: '${KAFKA_TOPIC:scada-review-events}'
- file:
path: '${LOCAL_ARCHIVE_PATH:/tmp/scada-review-events.jsonl}'
codec: lines
The source artifact is examples/integrations/scada-energy-edge/step-4-route-destinations.yaml.
Required review
- Define Kafka authentication, topic policy, ordering, retries, and backpressure.
- Verify which fields may cross the site boundary.
- Define local retention, file permissions, and disk-full behavior.
- Exercise delivery and retention with representative, authorized inputs.
Current status
Neither destination has been exercised by repository evidence. Delivery behavior and failure recovery remain not assessed.