Skip to content

Commit d66ce51

Browse files
authored
chore: fluvio version 0.12.0 (#279)
1 parent feca7e3 commit d66ce51

File tree

183 files changed

+16545
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+16545
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ Doc | Version Command
5353
`fluvio` | `npm run docusaurus docs:version <VERSION>`
5454
`sdf` | `npm run docusaurus docs:version:sdf <VERSION>`
5555

56+
> [!WARNING]
57+
> Versions specified in the command should not be prefixed with `v`.
58+
5659
## Release and Publish
5760

5861
In order to release a version and publish it you need to run:
@@ -86,4 +89,4 @@ Other environments https://github.com/casey/just#packages
8689

8790
`just` will list targets,
8891

89-
`just lint` will build the full static site and generate a hyperlink.log file containing broken links.
92+
`just lint` will build the full static site and generate a hyperlink.log file containing broken links.

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import sdfVersionsList from "./sdf_versions.json" with { type: "json" };
99

1010
const FLUVIO_REPOSITORY_URL = "https://github.com/InfinyOn/fluvio";
1111

12-
const STABLE_VERSION = "0.11.12";
12+
const STABLE_VERSION = "0.12.0";
1313

1414
// read sdf-versions.json and build versions object
1515
const sdfVersions = sdfVersionsList.reduce((acc, version) => ({
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk deploy start --ipkg infinyon-http-source-0.3.8.ipkg --config ./http-cat-facts-transform.yaml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk deploy start --ipkg infinyon-http-source-0.3.8.ipkg --config ./http-cat-facts.yaml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk deploy start --ipkg infinyon-http-source-0.3.8.ipkg -c quotes-source-connector.yml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk deploy start --ipkg infinyon-http-source-0.3.8.ipkg -c string-quotes-source-connector.yml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk deploy start --ipkg infinyon-sql-sink-0.4.3.ipkg --config ./sql-cat-fact.yaml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk hub download infinyon/http-source@0.3.8
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdk hub download infinyon/sql-sink@0.4.3
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fluvio hub smartmodule download infinyon/jolt@0.4.1
2+
... cluster smartmodule install complete
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fluvio hub sm download infinyon/json-sql@0.2.1
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fluvio hub smartmodule list
2+
SMARTMODULE Visibility
3+
infinyon/jolt@0.4.1 public
4+
...
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fluvio smartmodule list
2+
SMARTMODULE SIZE
3+
infinyon/jolt@0.4.1 589.3 KB
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fluvio sm list
2+
SMARTMODULE SIZE
3+
infinyon/json-sql@0.2.1 559.6 KB
4+
infinyon/jolt@0.4.1 589.3 KB
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: 0.1.0
2+
meta:
3+
version: 0.3.8
4+
name: cat-facts
5+
type: http-source
6+
topic: cat-facts
7+
create-topic: true
8+
9+
http:
10+
endpoint: "https://catfact.ninja/fact"
11+
interval: 10s
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: 0.1.0
2+
meta:
3+
version: 0.3.8
4+
name: cat-facts-transformed
5+
type: http-source
6+
topic: cat-facts-data-transform
7+
8+
http:
9+
endpoint: https://catfact.ninja/fact
10+
interval: 10s
11+
12+
transforms:
13+
- uses: infinyon/jolt@0.4.1
14+
with:
15+
spec:
16+
- operation: default
17+
spec:
18+
source: "http"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# string-quotes-source-connector.yml
2+
apiVersion: 0.1.0
3+
meta:
4+
version: 0.3.8
5+
name: string-quotes
6+
type: http-source
7+
topic: string-quotes
8+
http:
9+
endpoint: https://demo-data.infinyon.com/api/quote
10+
interval: 3s
11+
transforms:
12+
- uses: infinyon/jolt@0.4.1
13+
with:
14+
spec:
15+
- operation: shift
16+
spec:
17+
quote: ""
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# quotes-source-connector.yml
2+
apiVersion: 0.1.0
3+
meta:
4+
version: 0.3.8
5+
name: http-quotes
6+
type: http-source
7+
topic: quotes
8+
http:
9+
endpoint: https://demo-data.infinyon.com/api/quote
10+
interval: 3s
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# sql.yaml
2+
apiVersion: 0.1.0
3+
meta:
4+
name: simple-cat-facts-sql
5+
type: sql-sink
6+
version: 0.4.3
7+
topic: cat-facts
8+
sql:
9+
url: "postgres://user:password@db.postgreshost.example/dbname"
10+
transforms:
11+
- uses: infinyon/json-sql@0.2.1
12+
invoke: insert
13+
with:
14+
mapping:
15+
table: "animalfacts"
16+
map-columns:
17+
"length":
18+
json-key: "length"
19+
value:
20+
type: "int"
21+
default: "0"
22+
required: true
23+
"raw_fact_json":
24+
json-key: "$"
25+
value:
26+
type: "jsonb"
27+
required: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#transforms.yml
2+
transforms:
3+
- uses: infinyon/jolt@0.4.1
4+
with:
5+
spec:
6+
- operation: shift
7+
spec:
8+
quote: ""
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const versions = {
2+
infinyon_http_source: 'infinyon-http-source@0.3.8',
3+
}
4+
5+
export default versions;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"label": "Cloud CLI",
3+
"collapsed": true,
4+
"position": 30
5+
}
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
sidebar_position: 20
3+
title: "cluster"
4+
description: "Cluster functions using the Fluvio CLI"
5+
---
6+
7+
The `fluvio cloud cluster` family of commands is used to create, delete, and troubleshoot Fluvio clusters in cloud.
8+
9+
```bash
10+
$ fluvio cloud cluster -h
11+
```
12+
13+
```
14+
$ fluvio cloud cluster
15+
View Cluster information
16+
17+
Usage: fluvio cloud cluster <COMMAND>
18+
19+
Commands:
20+
create Create a new Fluvio cluster
21+
delete Delete an existing Fluvio cluster
22+
list List all Fluvio clusters
23+
sync Sync Fluvio cluster profile
24+
usage Print cluster usage stats
25+
```
26+
27+
---
28+
29+
## `fluvio cloud cluster create`
30+
31+
This command is used to provision a new cluster.
32+
33+
```bash
34+
$ fluvio cloud cluster create -h
35+
```
36+
37+
```
38+
$ fluvio cloud cluster create
39+
Create a new Fluvio cluster
40+
41+
Usage: fluvio cloud cluster create <NAME> [OPTIONS]
42+
43+
Options:
44+
--profile <PROFILE> The name of the Profile to save
45+
--version <VERSION> Fix the Fluvio version of this cluster (not recommended)
46+
--region <REGION> The ID of the region in which to create this cluster (beta)
47+
```
48+
49+
Choosing a non-default region with `--region` is currently in private beta and not available to the public.
50+
51+
Specifying `--version` fixes the Fluvio version and prevents the cluster from being auto-upgraded. This is for installing experimental releases and not generally recommended.
52+
53+
## `fluvio cloud cluster sync`
54+
55+
This command synchronized the cluster connection info to the Fluvio config on the machine
56+
57+
```bash
58+
$ fluvio cloud cluster sync -h
59+
```
60+
61+
```
62+
$ fluvio cloud cluster delete
63+
Delete an existing Fluvio cluster
64+
USAGE:
65+
fluvio cloud cluster delete <NAME> [OPTIONS]
66+
67+
Options:
68+
--profile <PROFILE> The name of the Profile to save
69+
```
70+
71+
Example usage:
72+
73+
```bash
74+
$ fluvio cloud cluster delete my-cluster
75+
```
76+
77+
## `fluvio cloud cluster list`
78+
79+
Command to show the fluvio clusters in Cloud associated with current user.
80+
81+
```bash
82+
$ fluvio cloud cluster list -h
83+
```
84+
85+
```
86+
$ fluvio cloud cluster list
87+
List all Fluvio clusters
88+
USAGE:
89+
fluvio-cloud cluster list
90+
```
91+
92+
Example usage:
93+
94+
```bash
95+
$ fluvio cloud cluster list
96+
97+
ID ACTIVE STATE VERSION SPU_COUNT
98+
my-cluster true Installed 0.10.0 1
99+
```
100+
101+
---
102+
103+
## `fluvio cloud cluster delete`
104+
105+
This command deletes the specified cluster
106+
107+
```bash
108+
$ fluvio cloud cluster delete -h
109+
```
110+
111+
```
112+
$ fluvio cloud cluster delete
113+
Delete an existing Fluvio cluster
114+
USAGE:
115+
fluvio-cloud cluster delete <CLUSTER>
116+
```
117+
118+
Example usage:
119+
120+
```bash
121+
$ fluvio cloud cluster delete my-cluster
122+
```

0 commit comments

Comments
 (0)