{"id":451,"date":"2023-03-15T23:26:23","date_gmt":"2023-03-15T15:26:23","guid":{"rendered":"https:\/\/blog.ymypay.cn\/?p=451"},"modified":"2023-03-17T09:32:07","modified_gmt":"2023-03-17T01:32:07","slug":"zookeeperdj","status":"publish","type":"post","link":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/","title":{"rendered":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa"},"content":{"rendered":"<!-- wp:ht\/block-toc {\"headerEntries\":\"[{\\u0022tag\\u0022:2,\\u0022text\\u0022:\\u0022\u524d\u8a00\\u0022,\\u0022link\\u0022:\\u0022htoc-\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:0,\\u0022children\\u0022:[{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022zookeeper\u6a21\u5f0f\u4ecb\u7ecd\\u0022,\\u0022link\\u0022:\\u0022htoc-z\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]}]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022zookeeper\u6a21\u5f0f\u4ecb\u7ecd\\u0022,\\u0022link\\u0022:\\u0022htoc-z\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:2,\\u0022text\\u0022:\\u0022zookeeper\u96c6\u7fa4\u642d\u5efa\\u0022,\\u0022link\\u0022:\\u0022htoc-z1\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:0,\\u0022children\\u0022:[{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e00\u6b65\u89e3\u538b\\u0022,\\u0022link\\u0022:\\u0022htoc-1\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e\\u0022,\\u0022link\\u0022:\\u0022htoc-d\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165zookeeper\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\\u0022,\\u0022link\\u0022:\\u0022htoc-11\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u590d\u5236\u914d\u7f6e\u6587\u4ef6\\u0022,\\u0022link\\u0022:\\u0022htoc-111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u4fee\u6539\u914d\u7f6e\u53ca\u914d\u7f6e\u4ecb\u7ecd\\u0022,\\u0022link\\u0022:\\u0022htoc-1111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5b9a\u4e49\u96c6\u7fa4id\\u0022,\\u0022link\\u0022:\\u0022htoc-11111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5176\u4f59\u673a\u5668\\u0022,\\u0022link\\u0022:\\u0022htoc-f\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]}]}]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e00\u6b65\u89e3\u538b\\u0022,\\u0022link\\u0022:\\u0022htoc-1\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e\\u0022,\\u0022link\\u0022:\\u0022htoc-d\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165zookeeper\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\\u0022,\\u0022link\\u0022:\\u0022htoc-11\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u590d\u5236\u914d\u7f6e\u6587\u4ef6\\u0022,\\u0022link\\u0022:\\u0022htoc-111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u4fee\u6539\u914d\u7f6e\u53ca\u914d\u7f6e\u4ecb\u7ecd\\u0022,\\u0022link\\u0022:\\u0022htoc-1111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5b9a\u4e49\u96c6\u7fa4id\\u0022,\\u0022link\\u0022:\\u0022htoc-11111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5176\u4f59\u673a\u5668\\u0022,\\u0022link\\u0022:\\u0022htoc-f\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]}]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165zookeeper\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\\u0022,\\u0022link\\u0022:\\u0022htoc-11\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u590d\u5236\u914d\u7f6e\u6587\u4ef6\\u0022,\\u0022link\\u0022:\\u0022htoc-111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u4fee\u6539\u914d\u7f6e\u53ca\u914d\u7f6e\u4ecb\u7ecd\\u0022,\\u0022link\\u0022:\\u0022htoc-1111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5b9a\u4e49\u96c6\u7fa4id\\u0022,\\u0022link\\u0022:\\u0022htoc-11111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u5176\u4f59\u673a\u5668\\u0022,\\u0022link\\u0022:\\u0022htoc-f\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:2,\\u0022text\\u0022:\\u0022zookeeper\u5355\u673a\u642d\u5efa\\u0022,\\u0022link\\u0022:\\u0022htoc-z11\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:0,\\u0022children\\u0022:[{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e00\u6b65\u89e3\u538b\\u0022,\\u0022link\\u0022:\\u0022htoc-d1\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e\\u0022,\\u0022link\\u0022:\\u0022htoc-e\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165\u76ee\u5f55\u53ca\u914d\u7f6e\u4fee\u6539\\u0022,\\u0022link\\u0022:\\u0022htoc-1111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-11111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]}]}]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e00\u6b65\u89e3\u538b\\u0022,\\u0022link\\u0022:\\u0022htoc-d1\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:3,\\u0022text\\u0022:\\u0022\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e\\u0022,\\u0022link\\u0022:\\u0022htoc-e\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:1,\\u0022children\\u0022:[{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165\u76ee\u5f55\u53ca\u914d\u7f6e\u4fee\u6539\\u0022,\\u0022link\\u0022:\\u0022htoc-1111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-11111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]}]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u8fdb\u5165\u76ee\u5f55\u53ca\u914d\u7f6e\u4fee\u6539\\u0022,\\u0022link\\u0022:\\u0022htoc-1111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]},{\\u0022tag\\u0022:4,\\u0022text\\u0022:\\u0022\u542f\u52a8\\u0022,\\u0022link\\u0022:\\u0022htoc-11111111\\u0022,\\u0022labelTOC\\u0022:\\u0022\\u0022,\\u0022visibleTOC\\u0022:1,\\u0022level\\u0022:2,\\u0022children\\u0022:[]}]\"} -->\n<div class=\"wp-block-ht-block-toc  is-style-outline htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-\">\u524d\u8a00<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-z\">zookeeper\u6a21\u5f0f\u4ecb\u7ecd<\/a><\/li><\/ul><\/li><li class=\"\"><a href=\"#htoc-z1\">zookeeper\u96c6\u7fa4\u642d\u5efa<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-1\">\u7b2c\u4e00\u6b65\u89e3\u538b<\/a><\/li><li class=\"\"><a href=\"#htoc-d\">\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-11\">\u8fdb\u5165zookeeper\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55<\/a><\/li><li class=\"\"><a href=\"#htoc-111\">\u590d\u5236\u914d\u7f6e\u6587\u4ef6<\/a><\/li><li class=\"\"><a href=\"#htoc-1111\">\u4fee\u6539\u914d\u7f6e\u53ca\u914d\u7f6e\u4ecb\u7ecd<\/a><\/li><li class=\"\"><a href=\"#htoc-11111\">\u5b9a\u4e49\u96c6\u7fa4id<\/a><\/li><li class=\"\"><a href=\"#htoc-f\">\u5176\u4f59\u673a\u5668<\/a><\/li><li class=\"\"><a href=\"#htoc-111111\">\u542f\u52a8<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"\"><a href=\"#htoc-z11\">zookeeper\u5355\u673a\u642d\u5efa<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-d1\">\u7b2c\u4e00\u6b65\u89e3\u538b<\/a><\/li><li class=\"\"><a href=\"#htoc-e\">\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e<\/a><ul class=\"ht_toc_child_list\"><li class=\"\"><a href=\"#htoc-1111111\">\u8fdb\u5165\u76ee\u5f55\u53ca\u914d\u7f6e\u4fee\u6539<\/a><\/li><li class=\"\"><a href=\"#htoc-11111111\">\u542f\u52a8<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/div><\/div>\n<!-- \/wp:ht\/block-toc -->\n\n<!-- wp:heading -->\n<h2 id=\"htoc-\">\u524d\u8a00<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 id=\"htoc-z\">zookeeper\u6a21\u5f0f\u4ecb\u7ecd<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">zookeeper\u96c6\u7fa4\u4e2d\u6709\u4e09\u79cd\u89d2\u8272\uff1a1\u3001\u8001\u5927Leader(\u9886\u5bfc\u8005\uff09 2\u3001\u8001\u4e8cFollower \uff08\u8ddf\u968f\u8005\uff09 3\u3001\u8001\u4e09Observer\uff08\u89c2\u5bdf\u8005\uff09\u3002\n\u5728\u5355\u673a\u4e2d\u6709\u4e00\u79cd\u6a21\u5f0f\uff1astandlone<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading -->\n<h2 id=\"htoc-z1\">zookeeper\u96c6\u7fa4\u642d\u5efa<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 id=\"htoc-1\">\u7b2c\u4e00\u6b65\u89e3\u538b<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">tar -zxvf \/chinaskills\/zookeeper-3.4.5.tar.gz -C \/opt\/module<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 id=\"htoc-d\">\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-11\">\u8fdb\u5165zookeeper\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">cd \/opt\/module\/zookeeper-3.4.5\/conf<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-111\">\u590d\u5236\u914d\u7f6e\u6587\u4ef6<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">cp zoo_sample.cfg zoo.cfg<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-1111\">\u4fee\u6539\u914d\u7f6e\u53ca\u914d\u7f6e\u4ecb\u7ecd<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">\u4fee\u6539dataDir\u53ca\u589e\u52a0dataLogDir\uff0c\u589e\u52a0server.x\uff0c\u52a0\u7c97\u4e3a\u5177\u4f53\u4fee\u6539\u9879<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code># The number of milliseconds of each tick\ntickTime=2000\n# The number of ticks that the initial\n# synchronization phase can take\ninitLimit=10\n# The number of ticks that can pass between\n# sending a request and getting an acknowledgement\nsyncLimit=5\n# the directory where the snapshot is stored.\n# do not use \/tmp for storage, \/tmp here is just\n# example sakes.\n<strong>dataDir=\/tmp\/zookeeper\/data\ndataLogDir=\/tmp\/zookeeper\/log<\/strong>\n# the port at which the clients will connect\nclientPort=2181\n#\n# Be sure to read the maintenance section of the\n# administrator guide before turning on autopurge.\n#\n# http:\/\/zookeeper.apache.org\/doc\/current\/zookeeperAdmin.html#sc_maintenance\n#\n# The number of snapshots to retain in dataDir\n#autopurge.snapRetainCount=3\n# Purge task interval in hours\n# Set to \"0\" to disable auto purge feature\n#autopurge.purgeInterval=1\n#\u6709\u591a\u5c11\u4e3b\u4ece\u673a\u5668\u5c31\u5199\u591a\u5c11server.x\uff0c\u7aef\u53e3\u5199\u6ca1\u6709\u7528\u7684\u7edf\u4e00\u4e00\u6837\n<strong>server.1=master:2188:3188\nserver.2=slave1:2188:3188\nserver.3=slave2:2188:3188<\/strong><\/code><\/pre>\n<!-- \/wp:code -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-11111\">\u5b9a\u4e49\u96c6\u7fa4id<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">mkdir \/tmp\/zookeeper\/data<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">vi \/tmp\/zookeeper\/data\/myid<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">\u7136\u540e\u6309\u7167\u914d\u7f6e\u7684server.x\uff0cx\u5c31\u5199\u591a\u5c11,\u6bd4\u59821<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-f\">\u5176\u4f59\u673a\u5668<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">\u5c06zookeeper\u76ee\u5f55\u5206\u53d1\u4e0b\u53bb\u540e\uff0c\u5b9a\u4e49\u96c6\u7fa4id<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-111111\">\u542f\u52a8<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">\u82e5\u6ca1\u6709\u73af\u5883\u53d8\u91cf\uff0c\u5728zookeeper\u76ee\u5f55\u4e0bbin\/\u547d\u4ee4\nzkServer.sh start\n\u9700\u8981\u5206\u522b\u542f\u52a8\uff0c\u65e0\u6cd5\u7edf\u4e00\u542f\u52a8\uff0c\u968f\u540ezkServer.sh status\u67e5\u770b\u6a21\u5f0f\u5373\u53ef\uff0cmaster\u5148\u542f\u52a8\u6210\u4e3a\u9886\u5bfc\u8005<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading -->\n<h2 id=\"htoc-z11\">zookeeper\u5355\u673a\u642d\u5efa<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 id=\"htoc-d1\">\u7b2c\u4e00\u6b65\u89e3\u538b<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">tar -zxvf \/chinaskills\/zookeeper-3.4.5.tar.gz -C \/opt\/module<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 id=\"htoc-e\">\u7b2c\u4e8c\u6b65\u66f4\u6539\u914d\u7f6e<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-1111111\">\u8fdb\u5165\u76ee\u5f55\u53ca\u914d\u7f6e\u4fee\u6539<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">cd \/opt\/module\/zookeeper-3.4.5\/conf\ncp zoo_sample.cfg zoo.cfg\n\u4fee\u6539dataDir\u53ca\u589e\u52a0dataLogDir,\u52a0\u7c97\u4e3a\u5177\u4f53\u4fee\u6539\u9879<\/pre>\n<!-- \/wp:verse -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code># The number of milliseconds of each tick\ntickTime=2000\n# The number of ticks that the initial\n# synchronization phase can take\ninitLimit=10\n# The number of ticks that can pass between\n# sending a request and getting an acknowledgement\nsyncLimit=5\n# the directory where the snapshot is stored.\n# do not use \/tmp for storage, \/tmp here is just\n# example sakes.\ndataDir=\/tmp\/zookeeper\/data\ndataLogDir=\/tmp\/zookeeper\/log\n# the port at which the clients will connect\nclientPort=2181\n#\n# Be sure to read the maintenance section of the\n# administrator guide before turning on autopurge.\n#\n# http:\/\/zookeeper.apache.org\/doc\/current\/zookeeperAdmin.html#sc_maintenance\n#\n# The number of snapshots to retain in dataDir\n#autopurge.snapRetainCount=3\n# Purge task interval in hours\n# Set to \"0\" to disable auto purge feature\n#autopurge.purgeInterval=1<\/code><\/pre>\n<!-- \/wp:code -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4 id=\"htoc-11111111\">\u542f\u52a8<\/h4>\n<!-- \/wp:heading -->\n\n<!-- wp:verse -->\n<pre class=\"wp-block-verse\">\u82e5\u6ca1\u6709\u73af\u5883\u53d8\u91cf\uff0c\u5728zookeeper\u76ee\u5f55\u4e0bbin\/\u547d\u4ee4\nzkServer.sh start\nzkServer.sh status \u67e5\u770b\u72b6\u6001\uff0c\u4e3astandlone\u4e3a\u6210\u529f<\/pre>\n<!-- \/wp:verse -->","raw":"","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 zookeeper\u6a21\u5f0f\u4ecb\u7ecd&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,17],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-dsjjs","category-xxrz"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 zookeeper\u6a21\u5f0f\u4ecb\u7ecd&#046;&#046;&#046;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/\" \/>\n<meta property=\"og:site_name\" content=\"\u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-15T15:26:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-17T01:32:07+00:00\" \/>\n<meta name=\"author\" content=\"AMEN\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"AMEN\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/\"},\"author\":{\"name\":\"AMEN\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#\\\/schema\\\/person\\\/463e3a6364fb4ee80206e19500534fff\"},\"headline\":\"zookeeper\u96c6\u7fa4\\\/\u5355\u673a\u642d\u5efa\",\"datePublished\":\"2023-03-15T15:26:23+00:00\",\"dateModified\":\"2023-03-17T01:32:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/\"},\"wordCount\":12,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#organization\"},\"articleSection\":[\"\u5927\u6570\u636e\u6280\u672f\",\"\u5b66\u4e60\u65e5\u5fd7\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/\",\"url\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/\",\"name\":\"zookeeper\u96c6\u7fa4\\\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#website\"},\"datePublished\":\"2023-03-15T15:26:23+00:00\",\"dateModified\":\"2023-03-17T01:32:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/2023\\\/03\\\/15\\\/zookeeperdj\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/blog.ymypay.cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"zookeeper\u96c6\u7fa4\\\/\u5355\u673a\u642d\u5efa\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#website\",\"url\":\"https:\\\/\\\/blog.ymypay.cn\\\/\",\"name\":\"\u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2\",\"description\":\"\u6e6e\u706d\u7f51\u7edc\u535a\u5ba2,\u6e6e\u706d\u7f51\u7edc,\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4,AMEN,\u88ab\u57cb\u6ca1\u7684\u5929\u5730,\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.ymypay.cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#organization\",\"name\":\"\u4e1c\u839e\u5e02\u4e1c\u57ce\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4\",\"url\":\"https:\\\/\\\/blog.ymypay.cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/strict.ymypay.cn\\\/2022\\\/04\\\/20220419124624567.png\",\"contentUrl\":\"https:\\\/\\\/strict.ymypay.cn\\\/2022\\\/04\\\/20220419124624567.png\",\"width\":500,\"height\":500,\"caption\":\"\u4e1c\u839e\u5e02\u4e1c\u57ce\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.ymypay.cn\\\/#\\\/schema\\\/person\\\/463e3a6364fb4ee80206e19500534fff\",\"name\":\"AMEN\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/cravatar.cn\\\/avatar\\\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g\",\"caption\":\"AMEN\"},\"sameAs\":[\"http:\\\/\\\/blog.ymypay.cn\"],\"url\":\"https:\\\/\\\/blog.ymypay.cn\\\/index.php\\\/author\\\/amen\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/","og_locale":"zh_CN","og_type":"article","og_title":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","og_description":"\u524d\u8a00 zookeeper\u6a21\u5f0f\u4ecb\u7ecd&#46;&#46;&#46;","og_url":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/","og_site_name":"\u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","article_published_time":"2023-03-15T15:26:23+00:00","article_modified_time":"2023-03-17T01:32:07+00:00","author":"AMEN","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"AMEN","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/#article","isPartOf":{"@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/"},"author":{"name":"AMEN","@id":"https:\/\/blog.ymypay.cn\/#\/schema\/person\/463e3a6364fb4ee80206e19500534fff"},"headline":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa","datePublished":"2023-03-15T15:26:23+00:00","dateModified":"2023-03-17T01:32:07+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/"},"wordCount":12,"commentCount":0,"publisher":{"@id":"https:\/\/blog.ymypay.cn\/#organization"},"articleSection":["\u5927\u6570\u636e\u6280\u672f","\u5b66\u4e60\u65e5\u5fd7"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/","url":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/","name":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa - \u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","isPartOf":{"@id":"https:\/\/blog.ymypay.cn\/#website"},"datePublished":"2023-03-15T15:26:23+00:00","dateModified":"2023-03-17T01:32:07+00:00","breadcrumb":{"@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.ymypay.cn\/index.php\/2023\/03\/15\/zookeeperdj\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.ymypay.cn\/"},{"@type":"ListItem","position":2,"name":"zookeeper\u96c6\u7fa4\/\u5355\u673a\u642d\u5efa"}]},{"@type":"WebSite","@id":"https:\/\/blog.ymypay.cn\/#website","url":"https:\/\/blog.ymypay.cn\/","name":"\u88ab\u57cb\u6ca1\u7684\u5929\u5730-\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","description":"\u6e6e\u706d\u7f51\u7edc\u535a\u5ba2,\u6e6e\u706d\u7f51\u7edc,\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4,AMEN,\u88ab\u57cb\u6ca1\u7684\u5929\u5730,\u6280\u672f\u4e0e\u8d44\u6e90\u5206\u4eab\u535a\u5ba2","publisher":{"@id":"https:\/\/blog.ymypay.cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.ymypay.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/blog.ymypay.cn\/#organization","name":"\u4e1c\u839e\u5e02\u4e1c\u57ce\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4","url":"https:\/\/blog.ymypay.cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.ymypay.cn\/#\/schema\/logo\/image\/","url":"https:\/\/strict.ymypay.cn\/2022\/04\/20220419124624567.png","contentUrl":"https:\/\/strict.ymypay.cn\/2022\/04\/20220419124624567.png","width":500,"height":500,"caption":"\u4e1c\u839e\u5e02\u4e1c\u57ce\u6e6e\u706d\u7f51\u7edc\u5de5\u4f5c\u5ba4"},"image":{"@id":"https:\/\/blog.ymypay.cn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blog.ymypay.cn\/#\/schema\/person\/463e3a6364fb4ee80206e19500534fff","name":"AMEN","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/cravatar.cn\/avatar\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g","url":"https:\/\/cravatar.cn\/avatar\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g","contentUrl":"https:\/\/cravatar.cn\/avatar\/a086daa3ccf87e45a19dced653cdaad8f98493d7b2725d8212b71e90b12317c7?s=96&d=mm&r=g","caption":"AMEN"},"sameAs":["http:\/\/blog.ymypay.cn"],"url":"https:\/\/blog.ymypay.cn\/index.php\/author\/amen\/"}]}},"post_thumbnail_image":"","content_first_image":"","post_medium_image_300":"","post_thumbnail_image_624":"","post_frist_image":"","post_medium_image":"","post_large_image":"","post_full_image":"","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u5927\u6570\u636e\u6280\u672f","post_date":"2023-03-15","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"1","audios":[],"postImageUrl":"https:\/\/strict.ymypay.cn\/2022\/04\/20220419124634557.png","avatarurls":[],"related_posts":null,"pageviews":881,"next_post_id":454,"next_post_title":"Hdoop HA\u642d\u5efa","previous_post_id":424,"previous_post_title":"\u7528Nginx\u90e8\u7f72vue\u9879\u76ee\u540e\u5237\u65b0\u51fa\u73b0404\u7684\u95ee\u9898","week":"\u661f\u671f\u4e09","post_favs":[],"post_likes":[],"_links":{"self":[{"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":3,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/posts\/451\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ymypay.cn\/index.php\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}