Connector.
The code for one source's ways and actions, with what it declares; one package of rows plus one implementation (18 §2.1)
Figure 1Connectorspecified
- kind
- row
- scope
- platform
- key
- its name and the version of its code
- store
- postgres
- family
- sources
Fields#
| field | type | required | note |
|---|---|---|---|
name | text | yes | |
source | Source | no | absent for a connector parameterized by its declarations, such as the browser capture, whose declarations each name theirs |
code_version | text | yes | |
declares | [text] | yes | The names of the kinds of reading, the kinds of action and the capture declarations whose rows name this connector. The register build derives the list from those rows; nobody types it. |
behaviours | [one of probe | read | subscribe | backfill | act | undo | resolve | capture] | yes | the trait’s behaviours the rows declare; one not implemented fails the build |
samples_hash | hash | no | the recorded wire captures |
samples | {text:hash} | no | for a connector that writes more than one shape (a catalogue builder whose views differ), the checked schema hash of each source object it returns, by the object’s name; a connector that writes one shape records samples_hash alone |
sync_offers | SyncOffer | yes | |
state | Readiness | yes |
Routes that use it#
No route takes or returns Connector directly. The record holds it, and the objects that point at it reach it.