NIFI-2731 MergeContent default max number of flow files and max number of bins should be smaller

This commit is contained in:
Pierre Villard 2016-09-27 21:09:51 +02:00 committed by Mark Payne
parent 26f46538b3
commit 6e7793305d
1 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ public abstract class BinFiles extends AbstractSessionFactoryProcessor {
public static final PropertyDescriptor MAX_ENTRIES = new PropertyDescriptor.Builder() public static final PropertyDescriptor MAX_ENTRIES = new PropertyDescriptor.Builder()
.name("Maximum Number of Entries") .name("Maximum Number of Entries")
.description("The maximum number of files to include in a bundle. If not specified, there is no maximum.") .description("The maximum number of files to include in a bundle. If not specified, there is no maximum.")
.defaultValue("1000")
.required(false) .required(false)
.addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR) .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR)
.build(); .build();
@ -78,7 +79,7 @@ public abstract class BinFiles extends AbstractSessionFactoryProcessor {
public static final PropertyDescriptor MAX_BIN_COUNT = new PropertyDescriptor.Builder() public static final PropertyDescriptor MAX_BIN_COUNT = new PropertyDescriptor.Builder()
.name("Maximum number of Bins") .name("Maximum number of Bins")
.description("Specifies the maximum number of bins that can be held in memory at any one time") .description("Specifies the maximum number of bins that can be held in memory at any one time")
.defaultValue("100") .defaultValue("5")
.required(true) .required(true)
.addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR) .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR)
.build(); .build();