{"id":837,"date":"2018-07-20T08:42:01","date_gmt":"2018-07-20T00:42:01","guid":{"rendered":"https:\/\/blog.jsjs.org\/?p=837"},"modified":"2018-07-20T08:42:01","modified_gmt":"2018-07-20T00:42:01","slug":"%e3%80%90%e5%88%86%e5%b8%83%e5%bc%8f%e3%80%91zookeeper%e4%bd%bf%e7%94%a8-%e5%91%bd%e4%bb%a4%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/blog.jsjs.org\/?p=837","title":{"rendered":"\u3010\u5206\u5e03\u5f0f\u3011Zookeeper\u4f7f\u7528&#8211;\u547d\u4ee4\u884c"},"content":{"rendered":"<p><strong>\u4e00\u3001\u524d\u8a00<\/strong><\/p>\n<p>\u5728\u5b66\u4e60\u4e86Zookeeper\u76f8\u5173\u7684\u7406\u8bba\u77e5\u8bc6\u540e\uff0c\u4e0b\u9762\u63a5\u7740\u5b66\u4e60\u5bf9Zookeeper\u7684\u76f8\u5173\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u4e8c\u3001Zookeeper\u90e8\u7f72<\/strong><\/p>\n<p>Zookeeper\u7684\u90e8\u7f72\u76f8\u5bf9\u6765\u8bf4\u8fd8\u662f\u6bd4\u8f83\u7b80\u5355\uff0c\u8bfb\u8005\u53ef\u4ee5\u5728\u7f51\u4e0a\u627e\u5230\u76f8\u5e94\u7684\u6559\u7a0b\uff0c<a href=\"http:\/\/coolxing.iteye.com\/blog\/1871009\" target=\"_blank\" rel=\"noopener\">\u70b9\u8fd9\u91cc<\/a>\uff0c\u7b14\u8005\u4e0d\u518d\u7d2f\u8d58\u3002<\/p>\n<p>Zookeeper\u6709\u4e09\u79cd\u8fd0\u884c\u5f62\u5f0f\uff1a\u96c6\u7fa4\u6a21\u5f0f\u3001\u5355\u673a\u6a21\u5f0f\u3001\u4f2a\u96c6\u7fa4\u6a21\u5f0f\u3002<\/p>\n<p>\u4ee5\u4e0b\u5b9e\u9a8c\u90fd\u662f\u5728\u5355\u673a\u6a21\u5f0f\u4e0b\u8fdb\u884c\u3002<\/p>\n<p><strong>\u4e09\u3001\u670d\u52a1\u7aef<\/strong><\/p>\n<p><strong>\u3000\u3000<\/strong>bin\u76ee\u5f55\u4e0b\u5e38\u7528\u7684\u811a\u672c\u89e3\u91ca<\/p>\n<p>zkCleanup\u3000\u3000\u6e05\u7406Zookeeper\u5386\u53f2\u6570\u636e\uff0c\u5305\u62ec\u98df\u7269\u65e5\u5fd7\u6587\u4ef6\u548c\u5feb\u7167\u6570\u636e\u6587\u4ef6<\/p>\n<p>zkCli\u3000\u3000\u3000\u3000 \u00a0Zookeeper\u7684\u4e00\u4e2a\u7b80\u6613\u5ba2\u6237\u7aef<\/p>\n<p>zkEnv\u3000\u3000\u3000\u3000\u8bbe\u7f6eZookeeper\u7684\u73af\u5883\u53d8\u91cf<\/p>\n<p>zkServer\u3000\u3000 \u00a0 Zookeeper\u670d\u52a1\u5668\u7684\u542f\u52a8\u3001\u505c\u6b62\u3001\u548c\u91cd\u542f\u811a\u672c<\/p>\n<p>3.1 \u8fd0\u884c\u670d\u52a1<\/p>\n<p>\u8fdb\u5165bin\u76ee\u5f55\uff0c\u4f7f\u7528<strong>zkServer.sh start<\/strong>\u542f\u52a8\u670d\u52a1<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102113533674-12957912.png\" alt=\"\" \/><\/p>\n<p>\u4f7f\u7528jps\u547d\u4ee4\u67e5\u770b\uff0c\u5b58\u5728QuorumPeerMain\u8fdb\u7a0b\uff0c\u8868\u793aZookeeper\u5df2\u7ecf\u542f\u52a8<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102113616971-675650718.png\" alt=\"\" \/><\/p>\n<p>3.2 \u505c\u6b62\u670d\u52a1<\/p>\n<p>\u5728bin\u76ee\u5f55\u4e0b\uff0c\u4f7f\u7528<strong>zkServer.sh stop<\/strong>\u505c\u6b62\u670d\u52a1<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102113822252-835006402.png\" alt=\"\" \/><\/p>\n<p>\u4f7f\u7528jps\u547d\u4ee4\u67e5\u770b\uff0cQuorumPeerMain\u8fdb\u7a0b\u5df2\u4e0d\u5b58\u5728\uff0c\u8868\u793aZookeeper\u5df2\u7ecf\u5173\u95ed<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102113911861-416089261.png\" alt=\"\" \/><\/p>\n<p><strong>\u56db\u3001\u5ba2\u6237\u7aef<\/strong><\/p>\n<p>4.1 \u6253\u5f00\u5ba2\u6237\u7aef<\/p>\n<p>\u5728\u670d\u52a1\u7aef\u5f00\u542f\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd0\u884c\u5ba2\u6237\u7aef\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<strong>.\/zkCli.sh<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102154207080-1243173093.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102153944565-787818501.png\" alt=\"\" \/><\/p>\n<p>\u8fde\u63a5\u670d\u52a1\u7aef\u6210\u529f\uff0c\u82e5\u8fde\u63a5\u4e0d\u540c\u7684\u4e3b\u673a\uff0c\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<strong>.\/zkCli.sh -server ip:port<\/strong><\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u5e2e\u52a9\u547d\u4ee4<strong>help<\/strong>\u6765\u67e5\u770b\u5ba2\u6237\u7aef\u7684\u64cd\u4f5c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102155605268-358299230.png\" alt=\"\" \/><\/p>\n<p>4.2 \u521b\u5efa\u8282\u70b9<\/p>\n<p>\u4f7f\u7528create\u547d\u4ee4\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aZookeeper\u8282\u70b9\uff0c \u5982<\/p>\n<p><strong>create [-s] [-e] path data acl<\/strong><\/p>\n<p>\u5176\u4e2d\uff0c-s\u6216-e\u5206\u522b\u6307\u5b9a\u8282\u70b9\u7279\u6027\uff0c\u987a\u5e8f\u6216\u4e34\u65f6\u8282\u70b9\uff0c\u82e5\u4e0d\u6307\u5b9a\uff0c\u5219\u8868\u793a\u6301\u4e45\u8282\u70b9\uff1bacl\u7528\u6765\u8fdb\u884c\u6743\u9650\u63a7\u5236\u3002<\/p>\n<p><strong>\u2460 \u521b\u5efa\u987a\u5e8f\u8282\u70b9<\/strong><\/p>\n<p>\u4f7f\u7528\u00a0<strong>create -s \/zk-test 123<\/strong>\u00a0\u547d\u4ee4\u521b\u5efazk-test\u987a\u5e8f\u8282\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102155803799-1536524204.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u521b\u5efa\u7684zk-test\u8282\u70b9\u540e\u9762\u6dfb\u52a0\u4e86\u4e00\u4e32\u6570\u5b57\u4ee5\u793a\u533a\u522b\u3002<\/p>\n<p><strong>\u2461 \u521b\u5efa\u4e34\u65f6\u8282\u70b9<\/strong><\/p>\n<p>\u4f7f\u7528\u00a0<strong>create -e \/zk-temp 123<\/strong>\u00a0\u547d\u4ee4\u521b\u5efazk-temp\u4e34\u65f6\u8282\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102160232549-1082367462.png\" alt=\"\" \/><\/p>\n<p>\u4e34\u65f6\u8282\u70b9\u5728\u5ba2\u6237\u7aef\u4f1a\u8bdd\u7ed3\u675f\u540e\uff0c\u5c31\u4f1a\u81ea\u52a8\u5220\u9664\uff0c\u4e0b\u9762\u4f7f\u7528<strong>quit<\/strong>\u547d\u4ee4\u9000\u51fa\u5ba2\u6237\u7aef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102160426440-778846503.png\" alt=\"\" \/><\/p>\n<p>\u518d\u6b21\u4f7f\u7528\u5ba2\u6237\u7aef\u8fde\u63a5\u670d\u52a1\u7aef\uff0c\u5e76\u4f7f\u7528ls \/ \u547d\u4ee4\u67e5\u770b\u6839\u76ee\u5f55\u4e0b\u7684\u8282\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102160634783-336378757.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u6839\u76ee\u5f55\u4e0b\u5df2\u7ecf\u4e0d\u5b58\u5728zk-temp\u4e34\u65f6\u8282\u70b9\u4e86\u3002<\/p>\n<p><strong>\u2462 \u521b\u5efa\u6c38\u4e45\u8282\u70b9<\/strong><\/p>\n<p>\u4f7f\u7528\u00a0<strong>create \/zk-permanent 123<\/strong>\u00a0\u547d\u4ee4\u521b\u5efazk-permanent\u6c38\u4e45\u8282\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102161119393-1467499512.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u6c38\u4e45\u8282\u70b9\u4e0d\u540c\u4e8e\u987a\u5e8f\u8282\u70b9\uff0c\u4e0d\u4f1a\u81ea\u52a8\u5728\u540e\u9762\u6dfb\u52a0\u4e00\u4e32\u6570\u5b57\u3002<\/p>\n<p>4.3 \u8bfb\u53d6\u8282\u70b9<\/p>\n<p>\u4e0e\u8bfb\u53d6\u76f8\u5173\u7684\u547d\u4ee4\u6709ls \u547d\u4ee4\u548cget \u547d\u4ee4\uff0cls\u547d\u4ee4\u53ef\u4ee5\u5217\u51faZookeeper\u6307\u5b9a\u8282\u70b9\u4e0b\u7684\u6240\u6709\u5b50\u8282\u70b9\uff0c\u53ea\u80fd\u67e5\u770b\u6307\u5b9a\u8282\u70b9\u4e0b\u7684\u7b2c\u4e00\u7ea7\u7684\u6240\u6709\u5b50\u8282\u70b9\uff1bget\u547d\u4ee4\u53ef\u4ee5\u83b7\u53d6Zookeeper\u6307\u5b9a\u8282\u70b9\u7684\u6570\u636e\u5185\u5bb9\u548c\u5c5e\u6027\u4fe1\u606f\u3002\u5176\u7528\u6cd5\u5206\u522b\u5982\u4e0b<\/p>\n<p><strong>\u3000\u3000ls path [watch]<\/strong><\/p>\n<p><strong>\u3000\u3000get path [watch]<\/strong><\/p>\n<p><strong>\u3000\u3000ls2 path [watch]<\/strong><\/p>\n<p>\u82e5\u83b7\u53d6\u6839\u8282\u70b9\u4e0b\u9762\u7684\u6240\u6709\u5b50\u8282\u70b9\uff0c\u4f7f\u7528<strong>ls \/<\/strong>\u00a0\u547d\u4ee4\u5373\u53ef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102161710690-1591213773.png\" alt=\"\" \/><\/p>\n<p>\u82e5\u60f3\u83b7\u53d6\u6839\u8282\u70b9\u6570\u636e\u5185\u5bb9\u548c\u5c5e\u6027\u4fe1\u606f\uff0c\u4f7f\u7528<strong>get \/<\/strong>\u00a0\u547d\u4ee4\u5373\u53ef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102162003940-1583548451.png\" alt=\"\" \/><\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528<strong>ls2 \/<\/strong>\u00a0\u547d\u4ee4\u67e5\u770b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102170200111-342568243.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u5176\u5b50\u8282\u70b9\u6570\u91cf\u4e3a8\u3002<\/p>\n<p>\u82e5\u60f3\u83b7\u53d6\/zk-permanent\u7684\u6570\u636e\u5185\u5bb9\u548c\u5c5e\u6027\uff0c\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<strong>get \/zk-permanent\u00a0<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102163010658-944355759.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u5176\u6570\u636e\u5185\u5bb9\u4e3a123\uff0c\u8fd8\u6709\u5176\u4ed6\u7684\u5c5e\u6027\uff0c\u4e4b\u540e\u4f1a\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<p>4.4 \u66f4\u65b0\u8282\u70b9<\/p>\n<p>\u4f7f\u7528set\u547d\u4ee4\uff0c\u53ef\u4ee5\u66f4\u65b0\u6307\u5b9a\u8282\u70b9\u7684\u6570\u636e\u5185\u5bb9\uff0c\u7528\u6cd5\u5982\u4e0b<\/p>\n<p><strong>set path data [version]<\/strong><\/p>\n<p>\u5176\u4e2d\uff0cdata\u5c31\u662f\u8981\u66f4\u65b0\u7684\u65b0\u5185\u5bb9\uff0cversion\u8868\u793a\u6570\u636e\u7248\u672c\uff0c\u5982\u5c06\/zk-permanent\u8282\u70b9\u7684\u6570\u636e\u66f4\u65b0\u4e3a456\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<strong>set \/zk-permanent 456<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102164406080-1199775708.png\" alt=\"\" \/><\/p>\n<p>\u73b0\u5728dataVersion\u5df2\u7ecf\u53d8\u4e3a1\u4e86\uff0c\u8868\u793a\u8fdb\u884c\u4e86\u66f4\u65b0\u3002<\/p>\n<p>4.5 \u5220\u9664\u8282\u70b9<\/p>\n<p>\u4f7f\u7528delete\u547d\u4ee4\u53ef\u4ee5\u5220\u9664Zookeeper\u4e0a\u7684\u6307\u5b9a\u8282\u70b9\uff0c\u7528\u6cd5\u5982\u4e0b<\/p>\n<p><strong>\u3000delete path [version]<\/strong><\/p>\n<p>\u5176\u4e2dversion\u4e5f\u662f\u8868\u793a\u6570\u636e\u7248\u672c\uff0c\u4f7f\u7528<strong>delete \/zk-permanent<\/strong>\u00a0\u547d\u4ee4\u5373\u53ef\u5220\u9664\/zk-permanent\u8282\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images2015.cnblogs.com\/blog\/616953\/201611\/616953-20161102164951768-162720225.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u5df2\u7ecf\u6210\u529f\u5220\u9664\/zk-permanent\u8282\u70b9\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c<strong>\u82e5\u5220\u9664\u8282\u70b9\u5b58\u5728\u5b50\u8282\u70b9\uff0c\u90a3\u4e48\u65e0\u6cd5\u5220\u9664\u8be5\u8282\u70b9\uff0c\u5fc5\u987b\u5148\u5220\u9664\u5b50\u8282\u70b9\uff0c\u518d\u5220\u9664\u7236\u8282\u70b9\u3002<\/strong><\/p>\n<p><strong>\u4e94\u3001\u603b\u7ed3<\/strong><\/p>\n<p>\u672c\u7bc7\u535a\u5ba2\u4e3b\u8981\u8bb2\u89e3\u4e86\u5728\u547d\u4ee4\u884c\u60c5\u51b5\u4e0b\u5982\u4f55\u64cd\u4f5cZookeper\u7684\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\uff0c\u5e76\u4e14\u4f7f\u7528\u7b80\u5355\u7684\u547d\u4ee4\u5b8c\u6210\u5bf9Zookeeper\u7684\u4e00\u4e9b\u64cd\u4f5c\uff0c\u8c22\u8c22\u5404\u4f4d\u56ed\u53cb\u7684\u89c2\u770b\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u524d\u8a00 \u5728\u5b66\u4e60\u4e86Zookeeper\u76f8\u5173\u7684\u7406\u8bba\u77e5\u8bc6\u540e\uff0c\u4e0b\u9762\u63a5\u7740\u5b66\u4e60\u5bf9Zookeeper\u7684\u76f8\u5173\u64cd\u4f5c\u3002 \u4e8c\u3001Zookeeper\u90e8\u7f72 Zookeeper\u7684\u90e8\u7f72\u76f8\u5bf9\u6765\u8bf4\u8fd8\u662f\u6bd4\u8f83\u7b80\u5355\uff0c\u8bfb\u8005\u53ef\u4ee5\u5728\u7f51\u4e0a\u627e\u5230\u76f8\u5e94\u7684\u6559\u7a0b\uff0c\u70b9\u8fd9\u91cc\uff0c\u7b14\u8005\u4e0d\u518d\u7d2f\u8d58\u3002 Zookeeper\u6709\u4e09\u79cd\u8fd0\u884c\u5f62\u5f0f\uff1a\u96c6\u7fa4\u6a21\u5f0f\u3001\u5355\u673a\u6a21\u5f0f\u3001\u4f2a\u96c6\u7fa4\u6a21\u5f0f\u3002 \u4ee5\u4e0b\u5b9e\u9a8c\u90fd\u662f\u5728\u5355\u673a\u6a21\u5f0f\u4e0b\u8fdb\u884c\u3002 \u4e09\u3001\u670d\u52a1\u7aef \u3000\u3000bin\u76ee\u5f55\u4e0b\u5e38\u7528\u7684\u811a\u672c\u89e3\u91ca zkCleanup\u3000\u3000\u6e05\u7406Zookeeper\u5386\u53f2\u6570\u636e\uff0c\u5305\u62ec\u98df\u7269\u65e5\u5fd7\u6587\u4ef6\u548c\u5feb\u7167\u6570\u636e\u6587\u4ef6 zkCli\u3000\u3000\u3000\u3000 \u00a0Zookeeper\u7684\u4e00\u4e2a\u7b80\u6613\u5ba2\u6237\u7aef zkEnv\u3000\u3000\u3000\u3000\u8bbe\u7f6eZookeeper\u7684\u73af\u5883\u53d8\u91cf zkServer\u3000\u3000 \u00a0 Zookeeper\u670d\u52a1\u5668\u7684\u542f\u52a8\u3001\u505c\u6b62\u3001\u548c\u91cd\u542f\u811a\u672c 3.1 \u8fd0\u884c\u670d\u52a1 \u8fdb\u5165bin\u76ee\u5f55\uff0c\u4f7f\u7528zkServer.sh start\u542f\u52a8\u670d\u52a1 \u4f7f\u7528jps\u547d\u4ee4\u67e5\u770b\uff0c\u5b58\u5728QuorumPeerMain\u8fdb\u7a0b\uff0c\u8868\u793aZookeeper\u5df2\u7ecf\u542f\u52a8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-837","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=837"}],"version-history":[{"count":0,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/837\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}