configuration - adyliu/jafka GitHub Wiki
Configuration
Basic Config
configuration files are in the conf
of JAFKA_HOME
- copy
log4j.properties.sample
tolog4j.properties
- copy
server.properties.sample
toserver.properties
server.properties
- change the
brokerid
to a unique integer for each broker hostname
is the connection address for clientport
is the bind port for connection addresshttp.port
is the bind port for http serverlog.dir
directory of jafka data files
Using zookeeper
Jafka cluster uses the jafka to load balance.
Change the config below in the server.properteis
:
- enable.zookeeper=true
- zk.connect=server1:2181,server2:2181,server3:2181
Language: English | Simple Chinese