Skip to content

Commit 0f1c803

Browse files
committed
rebase update
1 parent 3d9e1ec commit 0f1c803

28 files changed

Lines changed: 79 additions & 40 deletions

website/cue/reference/components/sinks/generated/aws_s3.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ generated: components: sinks: aws_s3: configuration: {
385385
"""
386386
required: false
387387
type: string: examples: [
388-
"gzip",
388+
"gzip"
389389
]
390390
}
391391
content_type: {
@@ -884,7 +884,7 @@ generated: components: sinks: aws_s3: configuration: {
884884
"""
885885
required: false
886886
type: string: examples: [
887-
"json",
887+
"json"
888888
]
889889
}
890890
filename_time_format: {

website/cue/reference/components/sinks/generated/blackhole.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generated: components: sinks: blackhole: configuration: {
3737
type: uint: {
3838
default: 0
3939
examples: [
40-
10,
40+
10
4141
]
4242
unit: "seconds"
4343
}
@@ -50,7 +50,7 @@ generated: components: sinks: blackhole: configuration: {
5050
"""
5151
required: false
5252
type: uint: examples: [
53-
1000,
53+
1000
5454
]
5555
}
5656
}

website/cue/reference/components/sinks/generated/doris.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ generated: components: sinks: doris: configuration: {
870870
type: string: {
871871
default: "vector"
872872
examples: [
873-
"vector",
873+
"vector"
874874
]
875875
}
876876
}

website/cue/reference/components/sinks/generated/file.cue

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,45 @@ generated: components: sinks: file: configuration: {
4141
required: false
4242
type: string: examples: ["/var/log/vector"]
4343
}
44+
batch: {
45+
description: """
46+
Controls how events are batched per destination file before writing.
47+
48+
Events sharing the same rendered path are accumulated into a single buffer and written
49+
with one syscall per batch, reducing overhead when routing to many partitions
50+
(for example, one file per Kafka topic). The default timeout is 1 second; raising it
51+
increases throughput at the cost of end-to-end latency.
52+
"""
53+
required: false
54+
type: object: options: {
55+
max_bytes: {
56+
description: """
57+
The maximum size of a batch that is processed by a sink.
58+
59+
This is based on the uncompressed size of the batched events, before they are
60+
serialized or compressed.
61+
"""
62+
required: false
63+
type: uint: {
64+
default: 10000000
65+
unit: "bytes"
66+
}
67+
}
68+
max_events: {
69+
description: "The maximum size of a batch before it is flushed."
70+
required: false
71+
type: uint: unit: "events"
72+
}
73+
timeout_secs: {
74+
description: "The maximum age of a batch before it is flushed."
75+
required: false
76+
type: float: {
77+
default: 1.0
78+
unit: "seconds"
79+
}
80+
}
81+
}
82+
}
4483
compression: {
4584
description: "Compression configuration."
4685
required: false
@@ -596,7 +635,7 @@ generated: components: sinks: file: configuration: {
596635
type: uint: {
597636
default: 30
598637
examples: [
599-
600,
638+
600
600639
]
601640
unit: "seconds"
602641
}

website/cue/reference/components/sinks/generated/greptimedb.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ generated: components: sinks: greptimedb: configuration: {
7575
type: string: {
7676
default: "public"
7777
examples: [
78-
"public",
78+
"public"
7979
]
8080
}
8181
}

website/cue/reference/components/sinks/generated/greptimedb_logs.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ generated: components: sinks: greptimedb_logs: configuration: {
124124
type: string: {
125125
default: "public"
126126
examples: [
127-
"public",
127+
"public"
128128
]
129129
syntax: "template"
130130
}

website/cue/reference/components/sinks/generated/greptimedb_metrics.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ generated: components: sinks: greptimedb_metrics: configuration: {
7575
type: string: {
7676
default: "public"
7777
examples: [
78-
"public",
78+
"public"
7979
]
8080
}
8181
}

website/cue/reference/components/sinks/generated/http.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ generated: components: sinks: http: configuration: {
845845
type: string: {
846846
default: ""
847847
examples: [
848-
"}",
848+
"}"
849849
]
850850
}
851851
}

website/cue/reference/components/sinks/generated/influxdb_logs.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ generated: components: sinks: influxdb_logs: configuration: {
153153
"""
154154
required: false
155155
type: string: examples: [
156-
"text",
156+
"text"
157157
]
158158
}
159159
org: {
@@ -384,7 +384,7 @@ generated: components: sinks: influxdb_logs: configuration: {
384384
"""
385385
required: false
386386
type: string: examples: [
387-
"source",
387+
"source"
388388
]
389389
}
390390
tags: {

website/cue/reference/components/sinks/generated/mezmo.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ generated: components: sinks: mezmo: configuration: {
7070
type: string: {
7171
default: "vector"
7272
examples: [
73-
"my-app",
73+
"my-app"
7474
]
7575
}
7676
}

0 commit comments

Comments
 (0)