Preparing Data
To use CS, you need a sink stream and source stream. To use another service as the source or sink stream, you need to apply for the service first.
CS supports the following data input and output channels:
- DIS as the data input and output channel
To use DIS as the data input and output channel for CS, enable DIS first.
For details about how to create a DIS stream, see in the Data Ingestion Service User Guide.
After applying for a DIS stream, you can upload local data to DIS to provide data sources for CS in real time. For details, see in the Data Ingestion Service User Guide.
CS source data might look like this:
1,lilei,bmw320i,28 2,hanmeimei,audia4,27
- OBS as the data source
To use OBS as the data source, enable OBS first. For details about how to enable OBS, see in the Object Storage Service Console Operation Guide.
After you enable OBS, upload local files to OBS using the Internet. For detailed operations, see in the Object Storage Service Console Operation Guide.
- RDS as the output channel
To use RDS as the output channel, create an RDS instance. For details, see Buying an RDS MySQL DB Instance in the Relational Database Service Getting Started Guide.
- SMN as the output channel
To use SMN as the output channel, create an SMN topic to obtain the URN resource ID and then add topic subscription. For details, see the Simple Message Notification Getting Started Guide.
- Kafka as the data input and output channel
If Kafka serves as both the source and sink streams, create a VPC peering connection between CS and Kafka. For details, see VPC Peering Connection.
If the Kafka server listens on the port using hostname, add the mapping between the hostname and IP address of the Kafka Broker node to the CS cluster. For details, see Creating an IP-Domain Mapping.
- CloudTable as the data input and output channel
To use CloudTable as the data input and output channel, create a cluster in CloudTable and obtain the cluster ID. For details, see in the CloudTable Service User Guide.
- CSS as the output channel
To use CSS as the data output channel, create a cluster in CSS and obtain the cluster's private network address. For details, see in the Cloud Search Service User Guide.
- DCS as the output channel
To use DCS as the output channel, create a Redis cache instance in DCS and obtain the address used for CS to connect to the Redis instance. For details, see in the Distributed Cache Service User Guide.
Last Article: Viewing the Overview Page
Next Article: Job Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.