GitHub user LucasValeQueiroz added a comment to the discussion: Datadiode between 2 IotDB via Pipe Datasync
Yes — IoTDB has a built-in `iotdb-air-gap-sink` with a strictly unidirectional UDP mode for physical data diodes (`IoTDBAirGapSink.java:215-266, 618-648`). Enable the receiver in `iotdb-system.properties` on the remote node (`pipe_air_gap_receiver_enabled=true` and `pipe_air_gap_receiver_port=9780`, then restart), and create the pipe on the local node: ```sql CREATE PIPE diode_sync WITH SINK ( 'sink' = 'iotdb-air-gap-sink', 'sink.node-urls' = '<remote-ip>:9780', 'sink.air-gap.transport' = 'udp', 'sink.air-gap.strict-unidirectional' = 'true' ); ``` `strict-unidirectional = true` requires `udp` (TCP expects a 1-byte ACK). Since a one-way link can't report delivery or remote errors, tune `sink.air-gap.udp.send-interval-ms` and the OS UDP receive buffer on the remote node to avoid packet loss. GitHub link: https://github.com/apache/iotdb/discussions/19407#discussioncomment-19906428 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
