Skip to content

Commit 70993d5

Browse files
authored
fix: typo, use timeout instead of ttl (#2494)
Signed-off-by: Vigith Maurice <vigith@gmail.com>
1 parent dd96c6b commit 70993d5

File tree

11 files changed

+15
-20
lines changed

11 files changed

+15
-20
lines changed

api/json-schema/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19641,7 +19641,7 @@
1964119641
"io.numaproj.numaflow.v1alpha1.AccumulatorWindow": {
1964219642
"description": "AccumulatorWindow describes a special kind of SessionWindow (similar to Global Window) where output should always have monotonically increasing WM but it can be manipulated through event-time by reordering the messages. NOTE: Quite powerful, should not be abused; it can cause stalling of pipelines and leaks.",
1964319643
"properties": {
19644-
"ttl": {
19644+
"timeout": {
1964519645
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration",
1964619646
"description": "Timeout is the duration of inactivity after which the state of the accumulator is removed."
1964719647
}

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19646,7 +19646,7 @@
1964619646
"description": "AccumulatorWindow describes a special kind of SessionWindow (similar to Global Window) where output should always have monotonically increasing WM but it can be manipulated through event-time by reordering the messages. NOTE: Quite powerful, should not be abused; it can cause stalling of pipelines and leaks.",
1964719647
"type": "object",
1964819648
"properties": {
19649-
"ttl": {
19649+
"timeout": {
1965019650
"description": "Timeout is the duration of inactivity after which the state of the accumulator is removed.",
1965119651
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration"
1965219652
}

config/base/crds/full/numaflow.numaproj.io_pipelines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11129,7 +11129,7 @@ spec:
1112911129
properties:
1113011130
accumulator:
1113111131
properties:
11132-
ttl:
11132+
timeout:
1113311133
type: string
1113411134
type: object
1113511135
fixed:

config/base/crds/full/numaflow.numaproj.io_vertices.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5702,7 +5702,7 @@ spec:
57025702
properties:
57035703
accumulator:
57045704
properties:
5705-
ttl:
5705+
timeout:
57065706
type: string
57075707
type: object
57085708
fixed:

config/install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21000,7 +21000,7 @@ spec:
2100021000
properties:
2100121001
accumulator:
2100221002
properties:
21003-
ttl:
21003+
timeout:
2100421004
type: string
2100521005
type: object
2100621006
fixed:
@@ -27640,7 +27640,7 @@ spec:
2764027640
properties:
2764127641
accumulator:
2764227642
properties:
27643-
ttl:
27643+
timeout:
2764427644
type: string
2764527645
type: object
2764627646
fixed:

config/namespace-install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21000,7 +21000,7 @@ spec:
2100021000
properties:
2100121001
accumulator:
2100221002
properties:
21003-
ttl:
21003+
timeout:
2100421004
type: string
2100521005
type: object
2100621006
fixed:
@@ -27640,7 +27640,7 @@ spec:
2764027640
properties:
2764127641
accumulator:
2764227642
properties:
27643-
ttl:
27643+
timeout:
2764427644
type: string
2764527645
type: object
2764627646
fixed:

docs/APIs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ Description
934934

935935
<td>
936936

937-
<code>ttl</code></br> <em>
937+
<code>timeout</code></br> <em>
938938
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
939939
Kubernetes meta/v1.Duration </a> </em>
940940
</td>
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ spec:
1818
max: 1
1919
source:
2020
http: {}
21-
# - name: in
22-
# source:
23-
# generator:
24-
# rpu: 5
25-
# keyCount: 1
2621
- name: accum
2722
udf:
2823
container:
@@ -32,7 +27,7 @@ spec:
3227
groupBy:
3328
window:
3429
accumulator:
35-
ttl: 10s
30+
timeout: 10s
3631
keyed: true
3732
storage:
3833
persistentVolumeClaim:

pkg/apis/numaflow/v1alpha1/udf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ type SessionWindow struct {
190190
// NOTE: Quite powerful, should not be abused; it can cause stalling of pipelines and leaks.
191191
type AccumulatorWindow struct {
192192
// Timeout is the duration of inactivity after which the state of the accumulator is removed.
193-
Timeout *metav1.Duration `json:"ttl,omitempty" protobuf:"bytes,1,opt,name=timeout"`
193+
Timeout *metav1.Duration `json:"timeout,omitempty" protobuf:"bytes,1,opt,name=timeout"`
194194
}
195195

196196
// PBQStorage defines the persistence configuration for a vertex.

pkg/apis/numaflow/v1alpha1/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)