https://github.com/streamnative/pulsar-io-huawei-dis
Pulsar IO connector for huawei DIS https://www.huaweicloud.com/en-us/product/dis.html
https://github.com/streamnative/pulsar-io-huawei-dis
Last synced: 7 months ago
JSON representation
Pulsar IO connector for huawei DIS https://www.huaweicloud.com/en-us/product/dis.html
- Host: GitHub
- URL: https://github.com/streamnative/pulsar-io-huawei-dis
- Owner: streamnative
- License: apache-2.0
- Created: 2021-05-15T02:11:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T23:17:02.000Z (about 3 years ago)
- Last Synced: 2024-04-17T17:13:15.006Z (almost 2 years ago)
- Language: Java
- Size: 24.4 KB
- Stars: 5
- Watchers: 22
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# pulsar-io-huawei-dis
Pulsar IO connector for huawei DIS https://www.huaweicloud.com/en-us/product/dis.html
## Configuration
The configuration of the DIS sink connector has the following properties.
### Property
| Name | Type|Required | Default | Description
|------|----------|----------|---------|-------------|
| `region` |String|true|" " (empty string) | Information about the region where the DIS is located. |
| `disEndpoint` |String|true|" " (empty string) | Domain name or IP address of the server bearing the DIS REST service. |
| `projectId` | String|true|" " (empty string) | User Project ID. |
| `ak` |String| true|" " (empty string) | User AK. |
| `sk` | String|true|" " (empty string) | User SK. |
| `streamId` | String|true|" " (empty string) | Id of the DIS stream. |
| `streamName` |String| true|" " (empty string) | Name of the DIS stream. |
### Example
Before using the DIS sink connector, you need to create a configuration file through one of the following methods.
* JSON
```json
{
"region": "cn-north-4",
"disEndpoint": "https://dis.cn-north-4.myhuaweicloud.com",
"projectId": "fakeProjectId",
"ak": "fakeSK",
"sk": "fakeSK",
"streamId": "fakeStreamId",
"streamName": "fakeStreamName"
}
```
* YAML
```yaml
configs:
region: "cn-north-4"
disEndpoint: "https://dis.cn-north-4.myhuaweicloud.com"
projectId: "fakeProjectId"
ak: "fakeAK"
sk: "fakeSK"
streamId: "fakeStreamId"
streamName: "fakeStreamName"
```