Skip to content

Commit

Permalink
Added 'device.registry.lifecycle.birth.fields.extendedProperties.valu…
Browse files Browse the repository at this point in the history
…e.length.max' setting

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Feb 3, 2023
1 parent 93ce94a commit 3bbbc81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ public enum DeviceRegistrySettingKeys implements SettingKey {
DEVICE_REGISTRY_EVENT_ADDRESS("device.registry.event.address"),

/**
* Gets the hard limit for {@link KapuaBirthMessage} fields length.
* Gets the hard limit for {@link KapuaBirthMessage} generic fields length.
*
* @since 2.0.0
*/
DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_LENGTH_MAX("device.registry.lifecycle.birth.fields.length.max"),
DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_CLOB_LENGTH_MAX("device.registry.lifecycle.birth.fields.clob.length.max"),

/**
* Gets the hard limit for {@link KapuaBirthMessage} {@link DeviceExtendedProperty#getValue()} fields length hdrd limit.
*
* @since 2.0.0
*/
DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_EXTENDED_PROPERTIES_VALUE_LENGTH_MAX("device.registry.lifecycle.birth.fields.extendedProperties.value.length.max"),

;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ device.registry.key=device.registry

device.registry.event.address=device

device.registry.lifecycle.birth.fields.length.max=4096
device.registry.lifecycle.birth.fields.clob.length.max=4096
device.registry.lifecycle.birth.fields.extendedProperties.value.length.max=2097152

0 comments on commit 3bbbc81

Please sign in to comment.