How Do I Send and Retrieve Data Using DIS?

  1. Create a DIS stream. Obtain your Access Key ID/Secret Access Key (AK/SK) pair from the Identity and Access Management (IAM) service.

  2. Download and decompress the DIS SDK software package.

    Verify integrity of the DIS SDK software package by following the procedure in How Do I Check Software Package Integrity?

  3. Create a producer project and configure the user AK/SK, endpoint, project ID, region, stream name, and the number of partitions.

  4. Run the producer application to send data.

  5. Create a consumer project and configure the user AK/SK, endpoint, project, region, stream name, partition ID, and startingSequenceNumber.

  6. Run the consumer application to retrieve data.