What’s the difference between an AirbyteStream and...
# ask-community-for-troubleshooting
l
What’s the difference between an AirbyteStream and ConfiguredAirbyteStream?
d
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
Ok cool thanks
do all of the fields from a http api have to be in the catalog to work?
u
d
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