Skip to main content

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

  1. Define Kafka authentication, topic policy, ordering, retries, and backpressure.
  2. Verify which fields may cross the site boundary.
  3. Define local retention, file permissions, and disk-full behavior.
  4. 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.

Next: Review the combined reference.