Skip to content
Ady Liu edited this page May 15, 2020 · 4 revisions

Configuration

Basic Config

configuration files are in the conf of JAFKA_HOME

  • copy log4j.properties.sample to log4j.properties
  • copy server.properties.sample to server.properties

server.properties

  • change the brokerid to a unique integer for each broker
  • hostname is the connection address for client
  • port is the bind port for connection address
  • http.port is the bind port for http server
  • log.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

Clone this wiki locally