Skip to content

Commit

Permalink
Updated the sm load file's connector yaml to current configuration (#224
Browse files Browse the repository at this point in the history
)

Old connector seemed to use outdated configuration.
  • Loading branch information
ZeroNerodaHero authored Aug 23, 2024
1 parent e2681af commit 008e8d7
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions docs/smartmodules/developers/load.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,20 @@ SmartModule are applied to InfinyOn Cloud Connectors using `fluvio cloud connect
Copy the following connector configuration into a`connector.yml` file:

```yaml
version: 0.1.0
name: cat-facts
type: http-source
topic: cats
direction: source
parameters:
endpoint: https://catfact.ninja/fact
interval: 10s
apiVersion: 0.1.0
meta:
version: x.y.z
name: cat-facts
type: http-source
topic: cats
create-topic: true

http:
endpoint: "https://catfact.ninja/fact"
interval: 10s

transforms:
- uses: acme/my-filter@0.1.0
invoke: filter
- uses: acme/my-filter@0.1.0
```
Create a connector using the configuration file.
Expand Down

0 comments on commit 008e8d7

Please sign in to comment.