itto.ditto-policies-enforcement.3.6.2.source-code.reference.conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ditto-policies-enforcement Show documentation
Show all versions of ditto-policies-enforcement Show documentation
Eclipse Ditto is a framework for creating and managing digital twins in the IoT.
# This is the reference config file that contains all the default settings.
# Make your edits/overrides in your application.conf.
enforcement-cache-dispatcher {
type = "Dispatcher"
executor = "org.eclipse.ditto.internal.utils.metrics.service.executor.InstrumentedThreadPoolExecutorServiceConfigurator"
}
enforcement-dispatcher {
type = "Dispatcher"
executor = "org.eclipse.ditto.internal.utils.metrics.service.executor.InstrumentedThreadPoolExecutorServiceConfigurator"
}
ditto.extensions {
pre-enforcer-provider {
extension-class = org.eclipse.ditto.policies.enforcement.pre.PreEnforcerProvider
extension-config {
pre-enforcers = []
}
}
}
ditto.policies-enforcer-cache {
enabled = true
enabled = ${?DITTO_POLICIES_ENFORCER_CACHE_ENABLED}
# how many enforcers to cache
maximum-size = 50000
maximum-size = ${?DITTO_POLICIES_ENFORCER_CACHE_MAX_SIZE}
# maximum duration of inconsistency after losing a cache invalidation
expire-after-write = 1h
expire-after-write = ${?DITTO_POLICIES_ENFORCER_CACHE_EXPIRE_AFTER_WRITE}
# prolonged on each cache access by that duration
expire-after-access = 15m
expire-after-access = ${?DITTO_POLICIES_ENFORCER_CACHE_EXPIRE_AFTER_ACCESS}
}