Method: ZK::Server::Config#data_dir=

Defined in:
lib/zk-server/config.rb

#data_dir=(value) ⇒ Object

defaults to #{base_dir}/data. use this to override the default

the location where ZooKeeper will store the in-memory database snapshots and, unless specified otherwise, the transaction log of updates to the database.

be aware that the Base class will not create any directories but #base_dir.



40
41
42
# File 'lib/zk-server/config.rb', line 40

def data_dir=(value)
  @data_dir = value
end