Preparing a DIS Spark Streaming Environment
Preparing a DIS Application Development Environment
- Set up DIS application development environments by following the procedure in Buying a Pay-Per-Use DIS Incremental Package.
- Install Maven. Configure a local repository address.
- Install scala-sdk.
Configuring the DIS Spark Streaming Dependency
The DIS Spark Streaming dependency can be introduced to the project through the following configuration:
<dependency>
<groupId>com.huaweicloud.dis</groupId>
<artifactId>huaweicloud-dis-spark-streaming_2.11</artifactId>
<version>1.2.1</version>
<scope>compile</scope>
</dependency> Checking Authentication Information
- AK/SK file
Access Key ID/Secret Access Key (AK/SK) files are created by the Identity and Access Management (IAM) service to authenticate calls to application programming interfaces (APIs) on the cloud.
- Project ID
A project is a group of tenant resources. A tenant can have multiple projects, one for each region. Each region has a unique Project ID. To view the project IDs of different regions, choose .
Last Article: Overview
Next Article: Customizing a SparkStreaming Job
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.