SetCacheServer
Description
Provides a set (collection of unique values) cache that can be accessed over a socket. Interaction with this service is typically accomplished via a DistributedSetCacheClient service.
Tags
cache, distinct, distributed, server, set
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Port * | Port | 4557 | The port to listen on for incoming connections | |
Maximum Cache Entries * | Maximum Cache Entries | 10000 | The maximum number of cache entries that the cache can hold | |
Eviction Strategy * | Eviction Strategy | Least Frequently Used |
| Determines which strategy should be used to evict values from the cache to make room for new entries |
Persistence Directory | Persistence Directory | If specified, the cache will be persisted in the given directory; if not specified, the cache will be in-memory only | ||
SSL Context Service | SSL Context Service | Controller Service: RestrictedSSLContextService Implementations: StandardRestrictedSSLContextService | If specified, this service will be used to create an SSL Context that will be used to secure communications; if not specified, communications will not be secure | |
Maximum Read Size | maximum-read-size | 1 MB | The maximum number of network bytes to read for a single cache item |
State Management
This component does not store state.
Restricted
This component is not restricted.
System Resource Considerations
This component does not specify system resource considerations.