File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
localstack-core/localstack
services/lambda_/event_source_mapping/pollers Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -846,9 +846,10 @@ def populate_edge_configuration(
846
846
# get-function call.
847
847
INTERNAL_RESOURCE_ACCOUNT = os .environ .get ("INTERNAL_RESOURCE_ACCOUNT" ) or "949334387222"
848
848
849
+ # TODO: remove with 4.1.0
849
850
# Determine which implementation to use for the event rule / event filtering engine used by multiple services:
850
851
# EventBridge, EventBridge Pipes, Lambda Event Source Mapping
851
- # Options: python (default) | java (preview )
852
+ # Options: python (default) | java (deprecated since 4.0.3 )
852
853
EVENT_RULE_ENGINE = os .environ .get ("EVENT_RULE_ENGINE" , "python" ).strip ()
853
854
854
855
# -----
Original file line number Diff line number Diff line change @@ -269,6 +269,11 @@ def is_affected(self) -> bool:
269
269
"0.14.0" ,
270
270
"This option has no effect anymore. Please use OPENSEARCH_ENDPOINT_STRATEGY instead." ,
271
271
),
272
+ EnvVarDeprecation (
273
+ "PERSIST_ALL" ,
274
+ "2.3.2" ,
275
+ "LocalStack treats backends and assets the same with respect to persistence. Please remove PERSIST_ALL." ,
276
+ ),
272
277
EnvVarDeprecation (
273
278
"DNS_LOCAL_NAME_PATTERNS" ,
274
279
"3.0.0" ,
@@ -299,9 +304,11 @@ def is_affected(self) -> bool:
299
304
" Please remove PROVIDER_OVERRIDE_STEPFUNCTIONS." ,
300
305
),
301
306
EnvVarDeprecation (
302
- "PERSIST_ALL" ,
303
- "2.3.2" ,
304
- "LocalStack treats backends and assets the same with respect to persistence. Please remove PERSIST_ALL." ,
307
+ "EVENT_RULE_ENGINE" ,
308
+ "4.0.3" ,
309
+ "The Java-based event ruler is deprecated because our latest Python-native implementation introduced in 4.0.3"
310
+ " is faster, achieves great AWS parity, and fixes compatibility issues with the StepFunctions JSONata feature."
311
+ " Please remove EVENT_RULE_ENGINE." ,
305
312
),
306
313
]
307
314
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ class PipeStateReasonValues(PipeStateReason):
21
21
# TODO: add others (e.g., failure)
22
22
23
23
24
- POLL_INTERVAL_SEC : float = 1
25
-
26
24
LOG = logging .getLogger (__name__ )
27
25
28
26
You can’t perform that action at this time.
0 commit comments