https://github.com/streamnative/pulsar-io-huawei-function-graph-connector
https://github.com/streamnative/pulsar-io-huawei-function-graph-connector
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamnative/pulsar-io-huawei-function-graph-connector
- Owner: streamnative
- License: apache-2.0
- Created: 2021-11-19T14:10:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T18:58:01.000Z (almost 3 years ago)
- Last Synced: 2024-04-17T17:13:14.940Z (almost 2 years ago)
- Language: Java
- Size: 21.5 KB
- Stars: 5
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# pulsar-io-huawei-function-graph
Pulsar IO connector for huawei FunctionGraph https://www.huaweicloud.com/en-us/product/functiongraph.html
## Configuration
The configuration of the FunctionGraph sink connector has the following properties.
### Property
| Name | Type|Required | Default | Description
|------|----------|----------|---------|-------------|
| `region` |String|true|" " (empty string) | Information about the region where the FunctionGraph is located. |
| `functionGraphEndpoint` |String|true|" " (empty string) | Domain name or IP address of the server bearing the FunctionGraph REST service. |
| `projectId` | String|true|" " (empty string) | User Project ID. |
| `ak` |String| true|" " (empty string) | User AK. |
| `sk` | String|true|" " (empty string) | User SK. |
| `functionUrn` | String|true|" " (empty string) | Function URN. |
### Example
Before using the FunctionGraph sink connector, you need to create a configuration file through one of the following methods.
* JSON
```json
{
"region": "cn-north-4",
"functionGraphEndpoint": "https://functiongraph.cn-north-4.myhuaweicloud.com",
"projectId": "fakeProjectId",
"ak": "fakeSK",
"sk": "fakeSK",
"functionUrn": "example function urn"
}
```
* YAML
```yaml
configs:
region: "cn-north-4"
functionGraphEndpoint: "https://functiongraph.cn-north-4.myhuaweicloud.com"
projectId: "fakeProjectId"
ak: "fakeAK"
sk: "fakeSK"
functionUrn: "example function urn"
```