Kafka安装配置及使用说明
(铁树2018-08-08)
(Windows平台,5个分布式节点,修改消息大小,调用程序范例)
1安装配置
采用5台服务器作为集群节点,IP地址为:
-.
'Opurge?
214
4him:77盘口或&?ot色FdtoiCL"i:iii工亡!it/?口亡XbeD色血二n?htilflscAniaiiiTenance
24t7h#-retaintndli+dJir
tau't&pujEge?snapR*-3
27tSettc*0*ts11fableautep>jrgsfoMure
antopill宦口pux<sInterv41=1
29
修改后配置文件为
"tial巾即cyriehecnLEa'ticiAphssoaantdc?
6LnLALinitsLD9#HThpinwrihbeT0ftif?iTecoadsEWofeachipiicApn
1熨tjckTjjs-n0DOaqhasi|ll|dtinj而比aAnnwlertgAngrit
11synGLiinit=5
#thedireertcrythesnapshootLssiored.
14
161
常dnnotUSB/iupdestoragBj/=C://'skJaia
iendataLui-EDAi-CAkaflsAzookEepejD-O..■“zldatalDE:
IFis*thsportatvhichtheclieEirtswllLeoniActcli?YtPort=l2]81.
卑nrwr,l?:13S8$
21s?:12SB8:138BS
:?DL15;128BB;13338骂"兀t甲6八10-99w0-16:2312SS3;]33S$I
0The丁LssiirmnixTiterofclzerrtcor_neztLonsB
星incieasethisifyouusedtohardlmnotecLientsftnirCl:.-SO
/律
律suretoresdthsmwJtDnan?白sectionoftho0sliriinifflriter事二日暂befcr?turningcnaurtoperg:#?9hrm;f/ri)/总目aclf叶冈..oe"dou/cun:程nt/医uokE
BnmrAitiiiiLhtnlg昌c;_maintEaaric甘
#Theniff-.bc-rofsnapshots十0rFt??sTiSfEstaLnCount-J□□
303132
0Pirg:?itasjEinthalizihours
下■雄Set1d*0*1□disableaupurgefea1llite
orpijr牛氐》r?pur百eIrrte匚晴m1二24
36
#ThenumberofmillisecondsofeachticktickTime=2000
Thenumberofticksthattheinitial
synchronizationphasecantake
initLimit=10
Thenumberofticksthatcanpassbetween
sendingarequestandgettinganacknowledgementsyncLimit=5
thedirectorywherethesnapshotisstored.
donotuse/tmpforstorage,/tmphereisjust
examplesakes.
dataDir二C:/kafka/zookeeper-
dataLogDir二C:/kafka/zookeeper-
theportatwhichtheclientswillconnect
clientPort=12181
=:12888:13888
=:
Kafka安装配置及其使用说明 来自淘豆网m.daumloan.com转载请标明出处.