Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MULE-19259: Review default maxConcurrency for async/parallel-foreach #805

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public final class MuleSystemProperties {
/**
* When set to {@code true} an application won't be able to override reserved properties such as <code>app.name</code>. If it
* isn't set, the behaviour will depend on {@link MuleRuntimeFeature#HONOUR_RESERVED_PROPERTIES}.
*
*
* @see MuleRuntimeFeature#HONOUR_RESERVED_PROPERTIES
* @since 4.4.0, 4.3.1
*/
Expand All @@ -291,7 +291,7 @@ public final class MuleSystemProperties {
/**
* When set to {@code true} the runtime will prioritize the retry policy defined in the operation over the one defined in the
* connection to resolve whether the policy is async. This may affect the resolution of whether the operation is async or not.
*
*
* @since 4.4.0, 4.3.1
*/
public static final String HONOUR_OPERATION_RETRY_POLICY_TEMPLATE_OVERRIDE_PROPERTY =
Expand All @@ -300,27 +300,36 @@ public final class MuleSystemProperties {
/**
* If set to true, then DW will correctly handle Splitter's exceptions, avoiding some serialization issues. Be aware that when
* enabled, this can make {@code error.cause} return a different exception. For more information see DW-383.
*
*
* @since 4.4.0, 4.3.1, 4.2.3
*/
public static final String HANDLE_SPLITTER_EXCEPTION_PROPERTY = "mule.dw.handle_splitter_exception";

/**
* If set to true, then fixed batch aggregator will only commit when a full block is processed. For more information see EE-7443
*
*
* @since 4.4.0, 4.3.1, 4.2.3
*/
public static final String BATCH_FIXED_AGGREGATOR_TRANSACTION_RECORD_BUFFER_PROPERTY =
SYSTEM_PROPERTY_PREFIX + "batch.fixed.aggregator.transaction.record.buffer";

/**
* If set to true, the connection exceptions will be computed to trigger alerts.
*
*
* @since 4.4.0, 4.3.1
*/
public static final String COMPUTE_CONNECTION_ERRORS_IN_STATS_PROPERTY =
SYSTEM_PROPERTY_PREFIX + "compute.connection.errors.in.stats";

/**
* The provided value will be used as a default for the {@code maxConcurrency} parameter for {@code async} and
* {@code parallel-foreach} scopes, and {@code scatter-gather} router.
*
* @since 4.4.0, 4.3.1
*/
public static final String SCOPES_DEFAULT_MAX_CONCURRENCY =
SYSTEM_PROPERTY_PREFIX + "scopes.default.max.concurrency";

/**
* @return {@code true} if the {@link #TESTING_MODE_PROPERTY_NAME} property has been set (regardless of the value)
*/
Expand Down