Swapping can cause performance issues as well as stability issues; in your example, you do not want the Linux kernel to "erroneously / accidentally" replace your Kafka or ZooKeeper processes.
, JVM, Kafka ZooKeeper, :
[The] JVM GC , , , , . ( , , ), . GC , , , , ; , GC !
, , vm.swappiness
0
, , RHEL 6.5, 1
( 0
), , .
. , Hadoop Elasticsearch, , Kafka ZooKeeper: