Skip to main content
Version: Next

KQ217 — a pulled sync goes over a protocol

Error · pulled-sync-over-a-protocol · Data

A sync carrying a query goes over a protocol, never through a Channel.

A sync through a channel carries a query. A pulled copy is asked for by the holder and answered by the source, which a channel's one-way connections don't say. Write the sync over a protocol, from catalog over http carries catalog/products-since, or carry the source's events instead.

Examples​

A copy of the orders pulled by orders-since, a query, through the events/orders channel raises KQ217:

component billing { sql billing-db "Billing DB" { root order from order-service over events/orders carries order-service/orders-since } }

Pulled over http, it raises nothing:

component billing { sql billing-db "Billing DB" { root order from order-service over http carries order-service/orders-since } }

© 2026 Extenza Works. All rights reserved.