Github user joemeszaros commented on the pull request:

    https://github.com/apache/nifi/pull/92#issuecomment-142863157
  
    Yes, you are correct. 
    
    The PutDisributeMapCache processor relies on the existing 
DistributedMapCacheServer, which internally use 
org.apache.nifi.distributed.cache.server.map.SimpleMapCache class. If you are 
intrested in the implementation details, please take a look at this class. It 
stores cache entries in a HashMap<ByteBuffer, MapCacheRecord>. 
    
    You can control the size of the cache with two factors:
    - The max cache size option in the cache server, which controls the maximum 
number of cache entries that the cache can hold (default value is 10000)
    - The max cache entry size in the PutDistributedMapCache processor, 
controlling the maximum amount of data to put into cache (default value is 1 MB)
    
    Hope it clears your question.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to