You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The InfinyOn Hub serves as a centralized repository for InfinyOn tConnectors, SmartModules, and Dataflows. It facilitates the discovery and deployment of extensions to enhance the data streaming capabilities of Fluvio. The hub provides a platform for developers and data engineers to easily access pre-built solutions or share their own extensions.
15
+
The InfinyOn Hub serves as a centralized repository for InfinyOn [Connectors](#connectors), [SmartModules](#smartmodules), and Dataflows. It facilitates the discovery and deployment of extensions to enhance Fluvio's data streaming capabilities. The hub provides developers and data engineers a platform to access pre-built solutions or share their extensions easily.
10
16
11
17
12
-
## List
18
+
## Connectors
13
19
14
-
List the SmartModules available for download.
20
+
List the Connectors available for download. The official connectors (prepended with `infinyon/`) can run on InfinyOn Cloud and in your local environment.
15
21
16
-
```shell copy="fl"
17
-
$ fluvio hub smartmodule list
18
-
SMARTMODULE Visibility
19
-
infinyon-labs/array-map-json@x.y.z public
20
-
infinyon-labs/dedup-filter@x.y.z public
21
-
infinyon-labs/json-formatter@x.y.z public
22
-
infinyon-labs/key-gen-json@x.y.z public
23
-
infinyon-labs/regex-map-json@x.y.z public
24
-
infinyon-labs/regex-map@x.y.z public
25
-
infinyon-labs/stars-forks-changes@x.y.z public
26
-
infinyon/jolt@x.y.z public
27
-
infinyon/json-sql@x.y.z public
28
-
infinyon/regex-filter@x.y.z public
29
-
```
22
+
### List Connectors
30
23
31
-
List the Connectors available for download.
24
+
Use `fluvio hub connector list` or `cdk hub list` to list the available connectors.
Check out [Connectors for Developers] to learn how to build and publish your own connectors for the Hub.
47
29
48
-
##Download
30
+
### Use Connectors
49
31
50
-
Downloading a SmartModule to a target cluster defined by your [`profile`]. SmartModules need to be downloaded before they are used in transformations.
32
+
If you use a connector in InfinyOn Cloud, the Cloud infrastructure will automatically download and run the connector package. If you use connectors in your local environment, you must use the `cdk` command to download and run the connector package.
51
33
52
-
```shell copy="fl"
53
-
$ fluvio hub sm download infinyon/jolt@x.y.z
54
-
downloading infinyon/jolt@x.y.z to infinyon-jolt-x.y.z.ipkg
55
-
... downloading complete
56
-
... checking package
57
-
trying connection to fluvio router.infinyon.cloud:9003
58
-
... cluster smartmodule install complete
59
-
```
34
+
#### Download and Run Locally
35
+
36
+
Connectors are independent binaries that run outside of Fluvio. Use the `cdk` command to download and run connectors locally:
To stop a connector, use the `cdk deploy shutdown` command.
45
+
46
+
47
+
#### Deploy on InfinyOn Cloud
60
48
61
-
Running `fluvio hub conn download` will download the package containing source code of the Connector.
49
+
Connectors are automatically downloaded to InfinyOn Cloud. The management of InfinyOn Cloud is performed using the `fluvio cloud` commands. To run a connector in InfinyOn Cloud, use the command `fluvio cloud connector create`.
downloading infinyon/http-source@x.y.z to infinyon-http-source-x.y.z.ipkg
66
-
... downloading complete
52
+
$ fluvio cloud connector create --config <CONFIG>
67
53
```
68
54
55
+
**Note** List your profiles (`fluvio profile list`) to ensure your CLI points to the InfinyOn Cloud cluster.
69
56
70
-
[`profile`]: fluvio/cli/fluvio/profile.mdx
57
+
58
+
## SmartModules
59
+
60
+
SmartModules are custom-defined programs that connectors use to transform data records during processing. Similar to connectors, SmartModules can be published to the Hub and made available for download. However, unlike connectors, SmartModules are downloaded to the cluster and are not executed outside of Fluvio.
61
+
62
+
### List SmartModules
63
+
64
+
List the SmartModules available for download. The official SmartModules (prepended with `infinyon/`).
Use `fluvio hub smartmodule download` to download specific SmartModules to a local or InfinyOn Cloud cluster. Use `fluvio profile list` to identify the target cluster.
SmartModules downloaded to a cluster can be used by the producer CLI or consumer CLI to transform records. They can also be accessed within the Connectors via the configuration file.
76
+
77
+
To see the SmartModules currently installed on the cluster, use the following command:
0 commit comments