https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
l

Luke Bussey

07/19/2021, 3:45 AM
What’s the difference between an AirbyteStream and ConfiguredAirbyteStream?
d

Davin Chia (Airbyte)

07/19/2021, 3:49 AM
An AirbyteStream defines the schema for that stream as well as the modes it supportes. A ConfiguredAirbyteStream wraps an AirbyteStream and includes fields indicating the selected mode
e.g. this is the configured stream's generated Java model code
Copy code
private AirbyteStream stream;
    private SyncMode syncMode;
    private List<String> cursorField = new ArrayList<String>();
    private DestinationSyncMode destinationSyncMode;
    private List<List<String>> primaryKey = new ArrayList<List<String>>();
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
the first field is the stream that is being configured, the rest of the fields are configuration information
l

Luke Bussey

07/19/2021, 2:46 PM
Ok cool thanks
do all of the fields from a http api have to be in the catalog to work?
u

[DEPRECATED] Marcos Marx

07/20/2021, 4:59 PM
d

Davin Chia (Airbyte)

07/21/2021, 1:13 AM
yes - our acceptance test do validate the API resources' schema so the api's resource schema should be identical to the stream's schema in the catalog