Skip to content

Commit

Permalink
Added 'device.registry.lifecycle.birth.fields.length.max' setting value
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Feb 3, 2023
1 parent f77502e commit 93ce94a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package org.eclipse.kapua.service.device.registry;

import org.eclipse.kapua.commons.setting.SettingKey;
import org.eclipse.kapua.message.device.lifecycle.KapuaBirthMessage;

/**
* {@link SettingKey}s for {@link DeviceRegistrySettings}.
Expand All @@ -31,7 +32,16 @@ public enum DeviceRegistrySettingKeys implements SettingKey {
/**
* @since 1.0.0
*/
DEVICE_REGISTRY_EVENT_ADDRESS("device.registry.event.address");
DEVICE_REGISTRY_EVENT_ADDRESS("device.registry.event.address"),

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

;

private final String key;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
###############################################################################
device.registry.key=device.registry

device.registry.eventAddress=device
device.registry.event.address=device

device.registry.lifecycle.birth.fields.length.max=4096

0 comments on commit 93ce94a

Please sign in to comment.