Below is an example of how to create a client connection to your distributed map cache server.
Note that the identifier in this example is cache-client
. If you are using this template
to create your own MapCacheClient service, replace the values in this template with values that are
suitable for your system. Possible options for Server Hostname
, Server Port
,
Communications Timeout
, and SSL Context Service.
<?xml version="1.0" encoding="UTF-8" ?> <services> <service> <identifier>cache-client</identifier> <class>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</class> <property name="Server Hostname">localhost</property> <property name="Server Port">4557</property> <property name="Communications Timeout">30 secs</property> </service> </services>See Also: