Creating an Ingestion Config
To create an ingestion config you will use the IngestionConfigService.CreateIngestionConfig endpoint. The CreateIngestionConfigRequest has the following definition:
The purpose of each field is as follows:
asset_name
: The name of the asset that will get createdflows
: See flows. More details regarding flows will be provided in the next section.organization_id
: the ID of your organization (not required unless you belong to multiple organizations)client_key
: an arbitrary client-chosen string used to uniquely identify this ingestion config
Client Keys
Although client_key
is optional, it is highly recommended that users provide a value for this field for convenient lookup of their
ingestion configs.
Once you have an ingestion config, you are just about ready to begin streaming data into Sift.
Retrieving Existing Ingestion Configs by ID
To retrieve an existing ingestion config you can use the IngestionConfigService.GetIngestionConfig endpoint by using the ID that was returned in the ingestion config in the response after creation.
Retrieving Existing Ingestion Configs by Client Key
To retrieve an existing ingestion config by client key you can use the IngestionConfigService.ListIngestionConfigs endpoint
and providing client_key == "example_client_key"
as the filter string.
Updating an Ingestion Config
Users may want to add flows after their ingestion config has been created. To add flows to an existing ingestion config users will want to send a CreateIngestionConfigFlowRequest to the IngestionConfigService.