cribl-control-plane 0.2.1rc3__py3-none-any.whl → 0.2.1rc4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/groups_sdk.py +0 -3
- cribl_control_plane/models/__init__.py +105 -28
- cribl_control_plane/models/input.py +14 -14
- cribl_control_plane/models/inputappscope.py +20 -16
- cribl_control_plane/models/inputconfluentcloud.py +110 -0
- cribl_control_plane/models/inputcriblhttp.py +20 -16
- cribl_control_plane/models/inputcribllakehttp.py +20 -16
- cribl_control_plane/models/inputcribltcp.py +20 -16
- cribl_control_plane/models/inputdatadogagent.py +20 -16
- cribl_control_plane/models/inputedgeprometheus.py +44 -36
- cribl_control_plane/models/inputelastic.py +44 -27
- cribl_control_plane/models/inputeventhub.py +118 -0
- cribl_control_plane/models/inputfirehose.py +20 -16
- cribl_control_plane/models/inputgrafana.py +39 -31
- cribl_control_plane/models/inputhttp.py +20 -16
- cribl_control_plane/models/inputhttpraw.py +20 -16
- cribl_control_plane/models/inputkafka.py +108 -0
- cribl_control_plane/models/inputloki.py +20 -16
- cribl_control_plane/models/inputmetrics.py +20 -16
- cribl_control_plane/models/inputmodeldriventelemetry.py +20 -16
- cribl_control_plane/models/inputopentelemetry.py +19 -15
- cribl_control_plane/models/inputprometheus.py +44 -36
- cribl_control_plane/models/inputprometheusrw.py +20 -16
- cribl_control_plane/models/inputsplunk.py +20 -16
- cribl_control_plane/models/inputsplunkhec.py +19 -15
- cribl_control_plane/models/inputsyslog.py +39 -31
- cribl_control_plane/models/inputsystemmetrics.py +20 -10
- cribl_control_plane/models/inputtcp.py +30 -16
- cribl_control_plane/models/inputtcpjson.py +20 -16
- cribl_control_plane/models/inputwindowsmetrics.py +20 -10
- cribl_control_plane/models/inputwineventlogs.py +14 -0
- cribl_control_plane/models/inputwizwebhook.py +20 -16
- cribl_control_plane/models/inputzscalerhec.py +19 -15
- cribl_control_plane/models/output.py +22 -22
- cribl_control_plane/models/outputazureblob.py +7 -0
- cribl_control_plane/models/outputazuredataexplorer.py +283 -93
- cribl_control_plane/models/outputazureeventhub.py +169 -21
- cribl_control_plane/models/outputazurelogs.py +49 -21
- cribl_control_plane/models/outputchronicle.py +49 -21
- cribl_control_plane/models/outputclickhouse.py +49 -21
- cribl_control_plane/models/outputcloudwatch.py +49 -21
- cribl_control_plane/models/outputconfluentcloud.py +167 -22
- cribl_control_plane/models/outputcriblhttp.py +49 -21
- cribl_control_plane/models/outputcribltcp.py +49 -21
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +50 -22
- cribl_control_plane/models/outputdatabricks.py +7 -0
- cribl_control_plane/models/outputdatadog.py +49 -21
- cribl_control_plane/models/outputdataset.py +49 -21
- cribl_control_plane/models/outputdls3.py +7 -0
- cribl_control_plane/models/outputdynatracehttp.py +49 -21
- cribl_control_plane/models/outputdynatraceotlp.py +49 -21
- cribl_control_plane/models/outputelastic.py +74 -21
- cribl_control_plane/models/outputelasticcloud.py +74 -21
- cribl_control_plane/models/outputfilesystem.py +7 -0
- cribl_control_plane/models/outputgooglechronicle.py +65 -22
- cribl_control_plane/models/outputgooglecloudlogging.py +50 -22
- cribl_control_plane/models/outputgooglecloudstorage.py +7 -0
- cribl_control_plane/models/outputgooglepubsub.py +49 -21
- cribl_control_plane/models/outputgrafanacloud.py +98 -42
- cribl_control_plane/models/outputgraphite.py +49 -21
- cribl_control_plane/models/outputhoneycomb.py +49 -21
- cribl_control_plane/models/outputhumiohec.py +49 -21
- cribl_control_plane/models/outputinfluxdb.py +49 -21
- cribl_control_plane/models/outputkafka.py +162 -19
- cribl_control_plane/models/outputkinesis.py +56 -21
- cribl_control_plane/models/outputloki.py +47 -19
- cribl_control_plane/models/outputminio.py +7 -0
- cribl_control_plane/models/outputmsk.py +54 -19
- cribl_control_plane/models/outputnewrelic.py +49 -21
- cribl_control_plane/models/outputnewrelicevents.py +50 -22
- cribl_control_plane/models/outputopentelemetry.py +49 -21
- cribl_control_plane/models/outputprometheus.py +49 -21
- cribl_control_plane/models/outputs3.py +7 -0
- cribl_control_plane/models/outputsentinel.py +49 -21
- cribl_control_plane/models/outputsentineloneaisiem.py +50 -22
- cribl_control_plane/models/outputservicenow.py +49 -21
- cribl_control_plane/models/outputsignalfx.py +49 -21
- cribl_control_plane/models/outputsns.py +47 -19
- cribl_control_plane/models/outputsplunk.py +49 -21
- cribl_control_plane/models/outputsplunkhec.py +49 -21
- cribl_control_plane/models/outputsplunklb.py +49 -21
- cribl_control_plane/models/outputsqs.py +47 -19
- cribl_control_plane/models/outputstatsd.py +49 -21
- cribl_control_plane/models/outputstatsdext.py +49 -21
- cribl_control_plane/models/outputsumologic.py +49 -21
- cribl_control_plane/models/outputsyslog.py +129 -99
- cribl_control_plane/models/outputtcpjson.py +49 -21
- cribl_control_plane/models/outputwavefront.py +49 -21
- cribl_control_plane/models/outputwebhook.py +49 -21
- cribl_control_plane/models/outputxsiam.py +47 -19
- cribl_control_plane/models/pipeline.py +4 -4
- cribl_control_plane/models/runnablejobcollection.py +12 -8
- cribl_control_plane/models/runnablejobexecutor.py +12 -8
- cribl_control_plane/models/runnablejobscheduledsearch.py +12 -8
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/METADATA +2 -6
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/RECORD +99 -102
- cribl_control_plane/mappings.py +0 -205
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +0 -52
- cribl_control_plane/models/rulesetid.py +0 -13
- {cribl_control_plane-0.2.1rc3.dist-info → cribl_control_plane-0.2.1rc4.dist-info}/WHEEL +0 -0
|
@@ -118,6 +118,17 @@ class OutputHumioHecBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
118
118
|
QUEUE = "queue"
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
class OutputHumioHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
122
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
123
|
+
|
|
124
|
+
# Error
|
|
125
|
+
ERROR = "error"
|
|
126
|
+
# Backpressure
|
|
127
|
+
ALWAYS = "always"
|
|
128
|
+
# Always On
|
|
129
|
+
BACKPRESSURE = "backpressure"
|
|
130
|
+
|
|
131
|
+
|
|
121
132
|
class OutputHumioHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
122
133
|
r"""Codec to use to compress the persisted data"""
|
|
123
134
|
|
|
@@ -136,17 +147,6 @@ class OutputHumioHecQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
136
147
|
DROP = "drop"
|
|
137
148
|
|
|
138
149
|
|
|
139
|
-
class OutputHumioHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
140
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
141
|
-
|
|
142
|
-
# Error
|
|
143
|
-
ERROR = "error"
|
|
144
|
-
# Backpressure
|
|
145
|
-
BACKPRESSURE = "backpressure"
|
|
146
|
-
# Always On
|
|
147
|
-
ALWAYS = "always"
|
|
148
|
-
|
|
149
|
-
|
|
150
150
|
class OutputHumioHecPqControlsTypedDict(TypedDict):
|
|
151
151
|
pass
|
|
152
152
|
|
|
@@ -212,6 +212,16 @@ class OutputHumioHecTypedDict(TypedDict):
|
|
|
212
212
|
r"""CrowdStrike Falcon LogScale authentication token"""
|
|
213
213
|
text_secret: NotRequired[str]
|
|
214
214
|
r"""Select or create a stored text secret"""
|
|
215
|
+
pq_strict_ordering: NotRequired[bool]
|
|
216
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
217
|
+
pq_rate_per_sec: NotRequired[float]
|
|
218
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
219
|
+
pq_mode: NotRequired[OutputHumioHecMode]
|
|
220
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
221
|
+
pq_max_buffer_size: NotRequired[float]
|
|
222
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
223
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
224
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
215
225
|
pq_max_file_size: NotRequired[str]
|
|
216
226
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
217
227
|
pq_max_size: NotRequired[str]
|
|
@@ -222,8 +232,6 @@ class OutputHumioHecTypedDict(TypedDict):
|
|
|
222
232
|
r"""Codec to use to compress the persisted data"""
|
|
223
233
|
pq_on_backpressure: NotRequired[OutputHumioHecQueueFullBehavior]
|
|
224
234
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
225
|
-
pq_mode: NotRequired[OutputHumioHecMode]
|
|
226
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
227
235
|
pq_controls: NotRequired[OutputHumioHecPqControlsTypedDict]
|
|
228
236
|
|
|
229
237
|
|
|
@@ -358,6 +366,34 @@ class OutputHumioHec(BaseModel):
|
|
|
358
366
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
359
367
|
r"""Select or create a stored text secret"""
|
|
360
368
|
|
|
369
|
+
pq_strict_ordering: Annotated[
|
|
370
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
371
|
+
] = True
|
|
372
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
373
|
+
|
|
374
|
+
pq_rate_per_sec: Annotated[
|
|
375
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
376
|
+
] = 0
|
|
377
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
378
|
+
|
|
379
|
+
pq_mode: Annotated[
|
|
380
|
+
Annotated[
|
|
381
|
+
Optional[OutputHumioHecMode], PlainValidator(validate_open_enum(False))
|
|
382
|
+
],
|
|
383
|
+
pydantic.Field(alias="pqMode"),
|
|
384
|
+
] = OutputHumioHecMode.ERROR
|
|
385
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
386
|
+
|
|
387
|
+
pq_max_buffer_size: Annotated[
|
|
388
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
389
|
+
] = 42
|
|
390
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
391
|
+
|
|
392
|
+
pq_max_backpressure_sec: Annotated[
|
|
393
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
394
|
+
] = 30
|
|
395
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
396
|
+
|
|
361
397
|
pq_max_file_size: Annotated[
|
|
362
398
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
363
399
|
] = "1 MB"
|
|
@@ -389,14 +425,6 @@ class OutputHumioHec(BaseModel):
|
|
|
389
425
|
] = OutputHumioHecQueueFullBehavior.BLOCK
|
|
390
426
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
391
427
|
|
|
392
|
-
pq_mode: Annotated[
|
|
393
|
-
Annotated[
|
|
394
|
-
Optional[OutputHumioHecMode], PlainValidator(validate_open_enum(False))
|
|
395
|
-
],
|
|
396
|
-
pydantic.Field(alias="pqMode"),
|
|
397
|
-
] = OutputHumioHecMode.ERROR
|
|
398
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
399
|
-
|
|
400
428
|
pq_controls: Annotated[
|
|
401
429
|
Optional[OutputHumioHecPqControls], pydantic.Field(alias="pqControls")
|
|
402
430
|
] = None
|
|
@@ -130,6 +130,17 @@ class OutputInfluxdbAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
130
130
|
OAUTH = "oauth"
|
|
131
131
|
|
|
132
132
|
|
|
133
|
+
class OutputInfluxdbMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
134
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
135
|
+
|
|
136
|
+
# Error
|
|
137
|
+
ERROR = "error"
|
|
138
|
+
# Backpressure
|
|
139
|
+
ALWAYS = "always"
|
|
140
|
+
# Always On
|
|
141
|
+
BACKPRESSURE = "backpressure"
|
|
142
|
+
|
|
143
|
+
|
|
133
144
|
class OutputInfluxdbCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
134
145
|
r"""Codec to use to compress the persisted data"""
|
|
135
146
|
|
|
@@ -148,17 +159,6 @@ class OutputInfluxdbQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
148
159
|
DROP = "drop"
|
|
149
160
|
|
|
150
161
|
|
|
151
|
-
class OutputInfluxdbMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
152
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
153
|
-
|
|
154
|
-
# Error
|
|
155
|
-
ERROR = "error"
|
|
156
|
-
# Backpressure
|
|
157
|
-
BACKPRESSURE = "backpressure"
|
|
158
|
-
# Always On
|
|
159
|
-
ALWAYS = "always"
|
|
160
|
-
|
|
161
|
-
|
|
162
162
|
class OutputInfluxdbPqControlsTypedDict(TypedDict):
|
|
163
163
|
pass
|
|
164
164
|
|
|
@@ -262,6 +262,16 @@ class OutputInfluxdbTypedDict(TypedDict):
|
|
|
262
262
|
r"""Bucket to write to."""
|
|
263
263
|
org: NotRequired[str]
|
|
264
264
|
r"""Organization ID for this bucket."""
|
|
265
|
+
pq_strict_ordering: NotRequired[bool]
|
|
266
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
267
|
+
pq_rate_per_sec: NotRequired[float]
|
|
268
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
269
|
+
pq_mode: NotRequired[OutputInfluxdbMode]
|
|
270
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
271
|
+
pq_max_buffer_size: NotRequired[float]
|
|
272
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
273
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
274
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
265
275
|
pq_max_file_size: NotRequired[str]
|
|
266
276
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
267
277
|
pq_max_size: NotRequired[str]
|
|
@@ -272,8 +282,6 @@ class OutputInfluxdbTypedDict(TypedDict):
|
|
|
272
282
|
r"""Codec to use to compress the persisted data"""
|
|
273
283
|
pq_on_backpressure: NotRequired[OutputInfluxdbQueueFullBehavior]
|
|
274
284
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
275
|
-
pq_mode: NotRequired[OutputInfluxdbMode]
|
|
276
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
277
285
|
pq_controls: NotRequired[OutputInfluxdbPqControlsTypedDict]
|
|
278
286
|
username: NotRequired[str]
|
|
279
287
|
password: NotRequired[str]
|
|
@@ -447,6 +455,34 @@ class OutputInfluxdb(BaseModel):
|
|
|
447
455
|
org: Optional[str] = None
|
|
448
456
|
r"""Organization ID for this bucket."""
|
|
449
457
|
|
|
458
|
+
pq_strict_ordering: Annotated[
|
|
459
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
460
|
+
] = True
|
|
461
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
462
|
+
|
|
463
|
+
pq_rate_per_sec: Annotated[
|
|
464
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
465
|
+
] = 0
|
|
466
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
467
|
+
|
|
468
|
+
pq_mode: Annotated[
|
|
469
|
+
Annotated[
|
|
470
|
+
Optional[OutputInfluxdbMode], PlainValidator(validate_open_enum(False))
|
|
471
|
+
],
|
|
472
|
+
pydantic.Field(alias="pqMode"),
|
|
473
|
+
] = OutputInfluxdbMode.ERROR
|
|
474
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
475
|
+
|
|
476
|
+
pq_max_buffer_size: Annotated[
|
|
477
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
478
|
+
] = 42
|
|
479
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
480
|
+
|
|
481
|
+
pq_max_backpressure_sec: Annotated[
|
|
482
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
483
|
+
] = 30
|
|
484
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
485
|
+
|
|
450
486
|
pq_max_file_size: Annotated[
|
|
451
487
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
452
488
|
] = "1 MB"
|
|
@@ -478,14 +514,6 @@ class OutputInfluxdb(BaseModel):
|
|
|
478
514
|
] = OutputInfluxdbQueueFullBehavior.BLOCK
|
|
479
515
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
480
516
|
|
|
481
|
-
pq_mode: Annotated[
|
|
482
|
-
Annotated[
|
|
483
|
-
Optional[OutputInfluxdbMode], PlainValidator(validate_open_enum(False))
|
|
484
|
-
],
|
|
485
|
-
pydantic.Field(alias="pqMode"),
|
|
486
|
-
] = OutputInfluxdbMode.ERROR
|
|
487
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
488
|
-
|
|
489
517
|
pq_controls: Annotated[
|
|
490
518
|
Optional[OutputInfluxdbPqControls], pydantic.Field(alias="pqControls")
|
|
491
519
|
] = None
|
|
@@ -212,6 +212,13 @@ class OutputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
|
|
|
212
212
|
r"""Used when __valueSchemaIdOut is not present, to transform _raw, leave blank if value transformation is not required by default."""
|
|
213
213
|
|
|
214
214
|
|
|
215
|
+
class OutputKafkaAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
216
|
+
r"""Enter credentials directly, or select a stored secret"""
|
|
217
|
+
|
|
218
|
+
MANUAL = "manual"
|
|
219
|
+
SECRET = "secret"
|
|
220
|
+
|
|
221
|
+
|
|
215
222
|
class OutputKafkaSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
216
223
|
# PLAIN
|
|
217
224
|
PLAIN = "plain"
|
|
@@ -223,13 +230,58 @@ class OutputKafkaSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
223
230
|
KERBEROS = "kerberos"
|
|
224
231
|
|
|
225
232
|
|
|
233
|
+
class OutputKafkaOauthParamTypedDict(TypedDict):
|
|
234
|
+
name: str
|
|
235
|
+
value: str
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class OutputKafkaOauthParam(BaseModel):
|
|
239
|
+
name: str
|
|
240
|
+
|
|
241
|
+
value: str
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
class OutputKafkaSaslExtensionTypedDict(TypedDict):
|
|
245
|
+
name: str
|
|
246
|
+
value: str
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class OutputKafkaSaslExtension(BaseModel):
|
|
250
|
+
name: str
|
|
251
|
+
|
|
252
|
+
value: str
|
|
253
|
+
|
|
254
|
+
|
|
226
255
|
class OutputKafkaAuthenticationTypedDict(TypedDict):
|
|
227
256
|
r"""Authentication parameters to use when connecting to brokers. Using TLS is highly recommended."""
|
|
228
257
|
|
|
229
258
|
disabled: NotRequired[bool]
|
|
259
|
+
username: NotRequired[str]
|
|
260
|
+
password: NotRequired[str]
|
|
261
|
+
auth_type: NotRequired[OutputKafkaAuthenticationMethod]
|
|
262
|
+
r"""Enter credentials directly, or select a stored secret"""
|
|
263
|
+
credentials_secret: NotRequired[str]
|
|
264
|
+
r"""Select or create a secret that references your credentials"""
|
|
230
265
|
mechanism: NotRequired[OutputKafkaSASLMechanism]
|
|
266
|
+
keytab_location: NotRequired[str]
|
|
267
|
+
r"""Location of keytab file for authentication principal"""
|
|
268
|
+
principal: NotRequired[str]
|
|
269
|
+
r"""Authentication principal, such as `kafka_user@example.com`"""
|
|
270
|
+
broker_service_class: NotRequired[str]
|
|
271
|
+
r"""Kerberos service class for Kafka brokers, such as `kafka`"""
|
|
231
272
|
oauth_enabled: NotRequired[bool]
|
|
232
273
|
r"""Enable OAuth authentication"""
|
|
274
|
+
token_url: NotRequired[str]
|
|
275
|
+
r"""URL of the token endpoint to use for OAuth authentication"""
|
|
276
|
+
client_id: NotRequired[str]
|
|
277
|
+
r"""Client ID to use for OAuth authentication"""
|
|
278
|
+
oauth_secret_type: NotRequired[str]
|
|
279
|
+
client_text_secret: NotRequired[str]
|
|
280
|
+
r"""Select or create a stored text secret"""
|
|
281
|
+
oauth_params: NotRequired[List[OutputKafkaOauthParamTypedDict]]
|
|
282
|
+
r"""Additional fields to send to the token endpoint, such as scope or audience"""
|
|
283
|
+
sasl_extensions: NotRequired[List[OutputKafkaSaslExtensionTypedDict]]
|
|
284
|
+
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
233
285
|
|
|
234
286
|
|
|
235
287
|
class OutputKafkaAuthentication(BaseModel):
|
|
@@ -237,15 +289,71 @@ class OutputKafkaAuthentication(BaseModel):
|
|
|
237
289
|
|
|
238
290
|
disabled: Optional[bool] = True
|
|
239
291
|
|
|
292
|
+
username: Optional[str] = None
|
|
293
|
+
|
|
294
|
+
password: Optional[str] = None
|
|
295
|
+
|
|
296
|
+
auth_type: Annotated[
|
|
297
|
+
Annotated[
|
|
298
|
+
Optional[OutputKafkaAuthenticationMethod],
|
|
299
|
+
PlainValidator(validate_open_enum(False)),
|
|
300
|
+
],
|
|
301
|
+
pydantic.Field(alias="authType"),
|
|
302
|
+
] = OutputKafkaAuthenticationMethod.MANUAL
|
|
303
|
+
r"""Enter credentials directly, or select a stored secret"""
|
|
304
|
+
|
|
305
|
+
credentials_secret: Annotated[
|
|
306
|
+
Optional[str], pydantic.Field(alias="credentialsSecret")
|
|
307
|
+
] = None
|
|
308
|
+
r"""Select or create a secret that references your credentials"""
|
|
309
|
+
|
|
240
310
|
mechanism: Annotated[
|
|
241
311
|
Optional[OutputKafkaSASLMechanism], PlainValidator(validate_open_enum(False))
|
|
242
312
|
] = OutputKafkaSASLMechanism.PLAIN
|
|
243
313
|
|
|
314
|
+
keytab_location: Annotated[
|
|
315
|
+
Optional[str], pydantic.Field(alias="keytabLocation")
|
|
316
|
+
] = None
|
|
317
|
+
r"""Location of keytab file for authentication principal"""
|
|
318
|
+
|
|
319
|
+
principal: Optional[str] = None
|
|
320
|
+
r"""Authentication principal, such as `kafka_user@example.com`"""
|
|
321
|
+
|
|
322
|
+
broker_service_class: Annotated[
|
|
323
|
+
Optional[str], pydantic.Field(alias="brokerServiceClass")
|
|
324
|
+
] = None
|
|
325
|
+
r"""Kerberos service class for Kafka brokers, such as `kafka`"""
|
|
326
|
+
|
|
244
327
|
oauth_enabled: Annotated[Optional[bool], pydantic.Field(alias="oauthEnabled")] = (
|
|
245
328
|
False
|
|
246
329
|
)
|
|
247
330
|
r"""Enable OAuth authentication"""
|
|
248
331
|
|
|
332
|
+
token_url: Annotated[Optional[str], pydantic.Field(alias="tokenUrl")] = None
|
|
333
|
+
r"""URL of the token endpoint to use for OAuth authentication"""
|
|
334
|
+
|
|
335
|
+
client_id: Annotated[Optional[str], pydantic.Field(alias="clientId")] = None
|
|
336
|
+
r"""Client ID to use for OAuth authentication"""
|
|
337
|
+
|
|
338
|
+
oauth_secret_type: Annotated[
|
|
339
|
+
Optional[str], pydantic.Field(alias="oauthSecretType")
|
|
340
|
+
] = "secret"
|
|
341
|
+
|
|
342
|
+
client_text_secret: Annotated[
|
|
343
|
+
Optional[str], pydantic.Field(alias="clientTextSecret")
|
|
344
|
+
] = None
|
|
345
|
+
r"""Select or create a stored text secret"""
|
|
346
|
+
|
|
347
|
+
oauth_params: Annotated[
|
|
348
|
+
Optional[List[OutputKafkaOauthParam]], pydantic.Field(alias="oauthParams")
|
|
349
|
+
] = None
|
|
350
|
+
r"""Additional fields to send to the token endpoint, such as scope or audience"""
|
|
351
|
+
|
|
352
|
+
sasl_extensions: Annotated[
|
|
353
|
+
Optional[List[OutputKafkaSaslExtension]], pydantic.Field(alias="saslExtensions")
|
|
354
|
+
] = None
|
|
355
|
+
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
356
|
+
|
|
249
357
|
|
|
250
358
|
class OutputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
251
359
|
TL_SV1 = "TLSv1"
|
|
@@ -341,6 +449,17 @@ class OutputKafkaBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
341
449
|
QUEUE = "queue"
|
|
342
450
|
|
|
343
451
|
|
|
452
|
+
class OutputKafkaMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
453
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
454
|
+
|
|
455
|
+
# Error
|
|
456
|
+
ERROR = "error"
|
|
457
|
+
# Backpressure
|
|
458
|
+
ALWAYS = "always"
|
|
459
|
+
# Always On
|
|
460
|
+
BACKPRESSURE = "backpressure"
|
|
461
|
+
|
|
462
|
+
|
|
344
463
|
class OutputKafkaPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
345
464
|
r"""Codec to use to compress the persisted data"""
|
|
346
465
|
|
|
@@ -359,17 +478,6 @@ class OutputKafkaQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
359
478
|
DROP = "drop"
|
|
360
479
|
|
|
361
480
|
|
|
362
|
-
class OutputKafkaMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
363
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
364
|
-
|
|
365
|
-
# Error
|
|
366
|
-
ERROR = "error"
|
|
367
|
-
# Backpressure
|
|
368
|
-
BACKPRESSURE = "backpressure"
|
|
369
|
-
# Always On
|
|
370
|
-
ALWAYS = "always"
|
|
371
|
-
|
|
372
|
-
|
|
373
481
|
class OutputKafkaPqControlsTypedDict(TypedDict):
|
|
374
482
|
pass
|
|
375
483
|
|
|
@@ -433,6 +541,18 @@ class OutputKafkaTypedDict(TypedDict):
|
|
|
433
541
|
description: NotRequired[str]
|
|
434
542
|
protobuf_library_id: NotRequired[str]
|
|
435
543
|
r"""Select a set of Protobuf definitions for the events you want to send"""
|
|
544
|
+
protobuf_encoding_id: NotRequired[str]
|
|
545
|
+
r"""Select the type of object you want the Protobuf definitions to use for event encoding"""
|
|
546
|
+
pq_strict_ordering: NotRequired[bool]
|
|
547
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
548
|
+
pq_rate_per_sec: NotRequired[float]
|
|
549
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
550
|
+
pq_mode: NotRequired[OutputKafkaMode]
|
|
551
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
552
|
+
pq_max_buffer_size: NotRequired[float]
|
|
553
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
554
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
555
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
436
556
|
pq_max_file_size: NotRequired[str]
|
|
437
557
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
438
558
|
pq_max_size: NotRequired[str]
|
|
@@ -443,8 +563,6 @@ class OutputKafkaTypedDict(TypedDict):
|
|
|
443
563
|
r"""Codec to use to compress the persisted data"""
|
|
444
564
|
pq_on_backpressure: NotRequired[OutputKafkaQueueFullBehavior]
|
|
445
565
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
446
|
-
pq_mode: NotRequired[OutputKafkaMode]
|
|
447
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
448
566
|
pq_controls: NotRequired[OutputKafkaPqControlsTypedDict]
|
|
449
567
|
|
|
450
568
|
|
|
@@ -568,6 +686,37 @@ class OutputKafka(BaseModel):
|
|
|
568
686
|
] = None
|
|
569
687
|
r"""Select a set of Protobuf definitions for the events you want to send"""
|
|
570
688
|
|
|
689
|
+
protobuf_encoding_id: Annotated[
|
|
690
|
+
Optional[str], pydantic.Field(alias="protobufEncodingId")
|
|
691
|
+
] = None
|
|
692
|
+
r"""Select the type of object you want the Protobuf definitions to use for event encoding"""
|
|
693
|
+
|
|
694
|
+
pq_strict_ordering: Annotated[
|
|
695
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
696
|
+
] = True
|
|
697
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
698
|
+
|
|
699
|
+
pq_rate_per_sec: Annotated[
|
|
700
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
701
|
+
] = 0
|
|
702
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
703
|
+
|
|
704
|
+
pq_mode: Annotated[
|
|
705
|
+
Annotated[Optional[OutputKafkaMode], PlainValidator(validate_open_enum(False))],
|
|
706
|
+
pydantic.Field(alias="pqMode"),
|
|
707
|
+
] = OutputKafkaMode.ERROR
|
|
708
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
709
|
+
|
|
710
|
+
pq_max_buffer_size: Annotated[
|
|
711
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
712
|
+
] = 42
|
|
713
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
714
|
+
|
|
715
|
+
pq_max_backpressure_sec: Annotated[
|
|
716
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
717
|
+
] = 30
|
|
718
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
719
|
+
|
|
571
720
|
pq_max_file_size: Annotated[
|
|
572
721
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
573
722
|
] = "1 MB"
|
|
@@ -599,12 +748,6 @@ class OutputKafka(BaseModel):
|
|
|
599
748
|
] = OutputKafkaQueueFullBehavior.BLOCK
|
|
600
749
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
601
750
|
|
|
602
|
-
pq_mode: Annotated[
|
|
603
|
-
Annotated[Optional[OutputKafkaMode], PlainValidator(validate_open_enum(False))],
|
|
604
|
-
pydantic.Field(alias="pqMode"),
|
|
605
|
-
] = OutputKafkaMode.ERROR
|
|
606
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
607
|
-
|
|
608
751
|
pq_controls: Annotated[
|
|
609
752
|
Optional[OutputKafkaPqControls], pydantic.Field(alias="pqControls")
|
|
610
753
|
] = None
|
|
@@ -53,6 +53,17 @@ class OutputKinesisBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta)
|
|
|
53
53
|
QUEUE = "queue"
|
|
54
54
|
|
|
55
55
|
|
|
56
|
+
class OutputKinesisMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
57
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
58
|
+
|
|
59
|
+
# Error
|
|
60
|
+
ERROR = "error"
|
|
61
|
+
# Backpressure
|
|
62
|
+
ALWAYS = "always"
|
|
63
|
+
# Always On
|
|
64
|
+
BACKPRESSURE = "backpressure"
|
|
65
|
+
|
|
66
|
+
|
|
56
67
|
class OutputKinesisPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
57
68
|
r"""Codec to use to compress the persisted data"""
|
|
58
69
|
|
|
@@ -71,17 +82,6 @@ class OutputKinesisQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
71
82
|
DROP = "drop"
|
|
72
83
|
|
|
73
84
|
|
|
74
|
-
class OutputKinesisMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
75
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
76
|
-
|
|
77
|
-
# Error
|
|
78
|
-
ERROR = "error"
|
|
79
|
-
# Backpressure
|
|
80
|
-
BACKPRESSURE = "backpressure"
|
|
81
|
-
# Always On
|
|
82
|
-
ALWAYS = "always"
|
|
83
|
-
|
|
84
|
-
|
|
85
85
|
class OutputKinesisPqControlsTypedDict(TypedDict):
|
|
86
86
|
pass
|
|
87
87
|
|
|
@@ -143,6 +143,18 @@ class OutputKinesisTypedDict(TypedDict):
|
|
|
143
143
|
aws_api_key: NotRequired[str]
|
|
144
144
|
aws_secret: NotRequired[str]
|
|
145
145
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
146
|
+
max_events_per_flush: NotRequired[float]
|
|
147
|
+
r"""Maximum number of records to send in a single request"""
|
|
148
|
+
pq_strict_ordering: NotRequired[bool]
|
|
149
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
150
|
+
pq_rate_per_sec: NotRequired[float]
|
|
151
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
152
|
+
pq_mode: NotRequired[OutputKinesisMode]
|
|
153
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
154
|
+
pq_max_buffer_size: NotRequired[float]
|
|
155
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
156
|
+
pq_max_backpressure_sec: NotRequired[float]
|
|
157
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
146
158
|
pq_max_file_size: NotRequired[str]
|
|
147
159
|
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
148
160
|
pq_max_size: NotRequired[str]
|
|
@@ -153,8 +165,6 @@ class OutputKinesisTypedDict(TypedDict):
|
|
|
153
165
|
r"""Codec to use to compress the persisted data"""
|
|
154
166
|
pq_on_backpressure: NotRequired[OutputKinesisQueueFullBehavior]
|
|
155
167
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
156
|
-
pq_mode: NotRequired[OutputKinesisMode]
|
|
157
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
158
168
|
pq_controls: NotRequired[OutputKinesisPqControlsTypedDict]
|
|
159
169
|
|
|
160
170
|
|
|
@@ -281,6 +291,39 @@ class OutputKinesis(BaseModel):
|
|
|
281
291
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
282
292
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
283
293
|
|
|
294
|
+
max_events_per_flush: Annotated[
|
|
295
|
+
Optional[float], pydantic.Field(alias="maxEventsPerFlush")
|
|
296
|
+
] = 500
|
|
297
|
+
r"""Maximum number of records to send in a single request"""
|
|
298
|
+
|
|
299
|
+
pq_strict_ordering: Annotated[
|
|
300
|
+
Optional[bool], pydantic.Field(alias="pqStrictOrdering")
|
|
301
|
+
] = True
|
|
302
|
+
r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
|
|
303
|
+
|
|
304
|
+
pq_rate_per_sec: Annotated[
|
|
305
|
+
Optional[float], pydantic.Field(alias="pqRatePerSec")
|
|
306
|
+
] = 0
|
|
307
|
+
r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
|
|
308
|
+
|
|
309
|
+
pq_mode: Annotated[
|
|
310
|
+
Annotated[
|
|
311
|
+
Optional[OutputKinesisMode], PlainValidator(validate_open_enum(False))
|
|
312
|
+
],
|
|
313
|
+
pydantic.Field(alias="pqMode"),
|
|
314
|
+
] = OutputKinesisMode.ERROR
|
|
315
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
316
|
+
|
|
317
|
+
pq_max_buffer_size: Annotated[
|
|
318
|
+
Optional[float], pydantic.Field(alias="pqMaxBufferSize")
|
|
319
|
+
] = 42
|
|
320
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
321
|
+
|
|
322
|
+
pq_max_backpressure_sec: Annotated[
|
|
323
|
+
Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
|
|
324
|
+
] = 30
|
|
325
|
+
r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
|
|
326
|
+
|
|
284
327
|
pq_max_file_size: Annotated[
|
|
285
328
|
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
286
329
|
] = "1 MB"
|
|
@@ -312,14 +355,6 @@ class OutputKinesis(BaseModel):
|
|
|
312
355
|
] = OutputKinesisQueueFullBehavior.BLOCK
|
|
313
356
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
314
357
|
|
|
315
|
-
pq_mode: Annotated[
|
|
316
|
-
Annotated[
|
|
317
|
-
Optional[OutputKinesisMode], PlainValidator(validate_open_enum(False))
|
|
318
|
-
],
|
|
319
|
-
pydantic.Field(alias="pqMode"),
|
|
320
|
-
] = OutputKinesisMode.ERROR
|
|
321
|
-
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
322
|
-
|
|
323
358
|
pq_controls: Annotated[
|
|
324
359
|
Optional[OutputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
325
360
|
] = None
|