August 2017
Beginner to intermediate
284 pages
6h 51m
English
As mentioned in the previous section, we can define the memory and CPU requirements for each component by defining the topology. The user can also set the default resource usage of components in the storm.yaml file. If we are defining the component configuration in the code, then the code value will overwrite the default one:
//default value if on heap memory requirement is not specified for a component topology.component.resources.onheap.memory.mb: 128.0 //default value if off heap memory requirement is not specified for a component topology.component.resources.offheap.memory.mb: 0.0 //default value if CPU requirement is not specified for a component topology.component.cpu.pcore.percent: 10.0 //default value ...
Read now
Unlock full access