{"id":7359,"date":"2021-12-16T15:01:33","date_gmt":"2021-12-16T07:01:33","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=7359"},"modified":"2022-08-04T17:41:13","modified_gmt":"2022-08-04T09:41:13","slug":"tdt%e5%9f%ba%e4%ba%8e%e6%96%b0%e5%a2%9e%e4%b8%8e%e6%9b%b4%e6%96%b0%e6%97%b6%e9%97%b4%e6%88%b3%e8%bf%9b%e8%a1%8c%e5%90%8c%e6%ad%a5%ef%bc%88%e9%80%bb%e8%be%91%e5%88%a0%e9%99%a4%ef%bc%89","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=7359","title":{"rendered":"TDT\u57fa\u4e8e\u65b0\u589e\u4e0e\u66f4\u65b0\u65f6\u95f4\u6233\u8fdb\u884c\u540c\u6b65\uff08\u903b\u8f91\u5220\u9664\uff09"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u5728TDT\u6279\u91cf\u6570\u636e\u6d41\u4e2d\uff0c\u67093\u79cd\u540c\u6b65\u65b9\u5f0f\u53ef\u9009\uff0c\u5305\u62ec<code>\u901a\u8fc7\u65e5\u5fd7<\/code>\uff0c<code>\u901a\u8fc7\u65f6\u95f4\u6233\u548c\u6807\u8bc6\u5217<\/code>\uff0c<code>\u901a\u8fc7\u65b0\u589e\u4e0e\u66f4\u65b0\u65f6\u95f4\u6233<\/code>\u3002\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd<code>\u901a\u8fc7\u65b0\u589e\u4e0e\u66f4\u65b0\u65f6\u95f4\u6233<\/code>\u5728\u5305\u542b\u903b\u8f91\u5220\u9664\u7684\u573a\u666f\u4e0b\u662f\u5982\u4f55\u5b9e\u73b0\u540c\u6b65\u7684\uff0c\u5e0c\u671b\u80fd\u591f\u65b9\u4fbf\u5927\u5bb6\u7406\u89e3\u5e76\u719f\u6089\u8be5\u529f\u80fd\u70b9\u3002<\/p>\n<p><strong>\u529f\u80fd\u9002\u7528\u573a\u666f\uff1a<\/strong><\/p>\n<ul>\n<li>\u9002\u5408\u8868\u4e2d\u6709\u8bb0\u5f55\u63d2\u5165\u65f6\u95f4\u548c\u66f4\u65b0\u65f6\u95f4\u7684\u5217\uff0c\u4e14\u6e90\u8868\u6570\u636e\u6ca1\u6709\u7269\u7406\u5220\u9664\u7684\u60c5\u51b5<\/li>\n<li>\u5982\u679c\u9700\u8981\u540c\u6b65\u5b58\u5728\u7269\u7406\u5220\u9664\u7684\u6570\u636e\uff0c\u9700\u8981\u7684\u6761\u4ef6\uff1a\u6e90\u8868\u4e2d\u6709\u8bb0\u5f55\u63d2\u5165\u65f6\u95f4\u548c\u66f4\u65b0\u65f6\u95f4\u7684\u5217\uff0c\u5e76\u4e14\u5b58\u5728\u4e00\u5f20\u5220\u9664\u8bb0\u5f55\u8868\uff0c\u8bb0\u5f55\u88ab\u5220\u9664\u7684\u6570\u636e\uff08\u5fc5\u9700\u6709\u88ab\u5220\u9664\u6570\u636e\u7684\u4e3b\u952e\uff09<\/li>\n<li>\u76ee\u524d\u53ea\u652f\u6301\u5355\u4e00\u4e3b\u952e\u6e90\u8868<\/li>\n<\/ul>\n<p>\u4e3e\u4f8b\u8bf4\u660e\uff1a<\/p>\n<p><strong>\u6570\u636e\u8868table_data\uff0c\u6709\u63d2\u5165\u65f6\u95f4\u5217create_time\u548c\u66f4\u65b0\u65f6\u95f4\u5217update_time\uff0c\u4e14\u6ca1\u6709\u7269\u7406\u5220\u9664\uff0c\u53ea\u6709\u903b\u8f91\u5220\u9664\uff08is_delete\u6807\u8bc6\u662f\u5426\u5220\u9664\uff09\uff0c\u7b26\u5408\u6761\u4ef6<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>id<\/th>\n<th>username<\/th>\n<th>create_time<\/th>\n<th>update_time<\/th>\n<th>is_delete<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>a<\/td>\n<td>2020-09-23 12:25:24<\/td>\n<td>2020-09-23 12:30:24<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>b<\/td>\n<td>2020-09-23 12:26:24<\/td>\n<td>2020-09-23 12:35:24<\/td>\n<td>1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u5927\u81f4\u7684\u6d4b\u8bd5\u6b65\u9aa4\u5982\u4e0b\uff1a<\/strong><\/p>\n<ol>\n<li>\u65b0\u589e\u6d4b\u8bd5\u6570\u636e\n<pre><code class=\"language-sql\">INSERT INTO test_time(username,create_time,is_delete)VALUES('zhangsan',NOW(),0);\nINSERT INTO test_time(username,create_time)VALUES('lisi',NOW());\nINSERT INTO test_time(username,create_time)VALUES('wangwu',NOW());<\/code><\/pre>\n<\/li>\n<li>update\u4e00\u6761\u6570\u636e\n<pre><code class=\"language-sql\">UPDATE test_time set username='new_lisi' where id=2;<\/code><\/pre>\n<\/li>\n<li>\u903b\u8f91\u5220\u9664\u7684\u65b9\u5f0f\uff0c\u6807\u8bb0\u4e00\u6761\u6570\u636e\u4e3a\u5220\u9664\u72b6\u6001\n<pre><code class=\"language-sql\">update test_time set is_delete=1 where id=3;<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\u751f\u6210\u7684\u6570\u636e\u6d41\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<blockquote>\n<p>SyncTimestamp_Reader  &#8211;&gt;  ColumnMap_Transformer  &#8211;&gt;  ORCTransactionSync_Writer<\/p>\n<\/blockquote>\n<h3>\u793a\u4f8b<\/h3>\n<hr \/>\n<p><strong>step1\uff1a\u6e90\u7aef\u521b\u5efa\u6d4b\u8bd5\u8868<\/strong><\/p>\n<pre><code class=\"language-sql\">--mysql\nDROP TABLE test_time;\n\nCREATE TABLE <code>test_time<\/code> (\n  <code>id<\/code> int(11) NOT NULL AUTO_INCREMENT,\n  <code>username<\/code> varchar(20) DEFAULT NULL,\n  <code>create_time<\/code> datetime DEFAULT NULL,\n  <code>update_time<\/code> timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n  <code>is_delete<\/code> int(10) DEFAULT 0,\n  PRIMARY KEY (<code>id<\/code>)\n) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636347248.png\" alt=\"file\" \/><\/p>\n<p><strong>step2\uff1a\u521b\u5efaTDT\u6279\u91cf\u540c\u6b65\u6570\u636e\u6d41<\/strong><\/p>\n<p><strong>\u6e90\u7aef\u9009\u62e9\uff1a<\/strong><\/p>\n<p>\u65b0\u5efa\u6279\u91cf\u6570\u636e\u6d41\uff0c\u9009\u62e9\u540c\u6b65<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636437541.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-ruby\"># \u586b\u5199\u89c4\u8303\u5982\u4e0b\uff1a\n\u4e3b\u952e\u5217\uff1a\u8fd9\u91cc\u9009\u53d6\u6e90\u8868\u4e2d\u7684PK\u5217ID\n\u65b0\u589e\u65f6\u95f4\u5217\uff1a\u8fd9\u91cc\u9009\u53d6\u6e90\u8868\u4e2d\u7684create_time\u5b57\u6bb5\n\u66f4\u65b0\u65f6\u95f4\u5217\uff1a\u8fd9\u91cc\u9009\u53d6\u6e90\u8868\u4e2d\u7684update_time\u5b57\u6bb5<\/code><\/pre>\n<p><strong>\u89c4\u5219\u914d\u7f6e\uff1a<\/strong> \u8fd9\u91cc\u4e0d\u505a\u914d\u7f6e\u4ecb\u7ecd<\/p>\n<p><strong>\u76ee\u6807\u7aef\u9009\u62e9\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636536111.png\" alt=\"file\" \/><\/p>\n<p><strong>\u5217\u8868\u5c55\u793a\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636550614.png\" alt=\"file\" \/><\/p>\n<p>\u70b9\u51fb\u786e\u5b9a\u4e4b\u540e\uff0c\u6279\u91cf\u6570\u636e\u6d41\u521b\u5efa\u5b8c\u6210\uff0c\u70b9\u51fb\u5230\u5185\u90e8\u53ef\u4ee5\u770b\u5230\u751f\u6210\u7684\u6570\u636e\u6d41\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636571445.png\" alt=\"file\" \/><\/p>\n<p>SyncJDBC_Reader\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636587155.png\" alt=\"file\" \/><\/p>\n<p>ORCTransactionSync_Writer\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639636598993.png\" alt=\"file\" \/><\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u770b\u4e0b\u53f3\u4e0a\u89d2\u521d\u59cb\u7684\u53c2\u6570\u914d\u7f6e\u60c5\u51b5\uff0c<code>tdt.job.record.last.original.value<\/code> \u548c <code>tdt.job.record.last.value<\/code> \u5747\u4e3a\u7a7a<\/p>\n<p><strong>step3\uff1a\u6570\u636e\u6d41\u8c03\u8bd5(insert)<\/strong><\/p>\n<p>\u5728mysql\u4e2d\u6a21\u62df\u63d2\u5165\u6d4b\u8bd5\u6570\u636e<\/p>\n<pre><code class=\"language-sql\">INSERT INTO test_time(username,create_time)VALUES('zhangsan',NOW());\nINSERT INTO test_time(username,create_time)VALUES('lisi',NOW());\nINSERT INTO test_time(username,create_time)VALUES('wangwu',NOW());<\/code><\/pre>\n<p>\u8fdb\u5165\u8c03\u8bd5\u6a21\u5f0f\uff0c\u70b9\u51fb\u8c03\u8bd5\u6309\u94ae<\/p>\n<p>\u9996\u6b21\u8c03\u8bd5\uff0c\u6211\u4eec\u7b80\u5355\u89e3\u6790\u4e00\u4e0b\u6267\u884c\u65e5\u5fd7\uff1a<\/p>\n<p>SyncJDBC_Reader\u9636\u6bb5\uff0c\u901a\u8fc7jdbc\u8bfb\u53d6\u6e90\u8868\uff0c\u6ce8\u610f\u5176\u4e2d\u7684<code>mapreduce.jdbc.input.query<\/code>\uff0c\u5728\u7b2c\u4e00\u6b21\u6267\u884c\u540c\u6b65\u6570\u636e\u6d41\u65f6\uff0c\u7531\u4e8e\u53c2\u6570\u4e2d\u6ca1\u6709\u8bb0\u5f55<code>tdt.job.record.last.original.value<\/code> \u548c <code>tdt.job.record.last.value<\/code>\uff0c\u6240\u4ee5\u8fd9\u91cc\u9009\u53d6\u6e90\u6570\u636e\u4e2dOP_TIME\u5217&lt;\u6700\u5927\u503c\u7684\u90e8\u5206\uff0c\u76f8\u5f53\u4e8e\u7b2c\u4e00\u6b21\u505a\u4e86\u4e00\u6b21\u5168\u91cf\u5bfc\u6570\u3002<\/p>\n<pre><code class=\"language-sql\">CREATE TABLE <code>default<\/code>.<code>TDT__INTERNAL__0ea678f4ab484def8661ab33da05b550<\/code> (\n<code>id<\/code> int,<code>username<\/code> string,<code>create_time<\/code> timestamp,<code>update_time<\/code> timestamp,<code>is_delete<\/code> int\n) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.tdt.JDBCSerde'\nSTORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.tdt.JDBCDBInputFormat' \nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'\nTBLPROPERTIES(\n'mapreduce.jdbc.driver.class'='com.mysql.jdbc.Driver',\n'mapreduce.jdbc.url'='jdbc:mysql:\/\/172.22.23.9:3306',\n'mapreduce.jdbc.input.query'='select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:46:28.0\\'',\n'mapreduce.jdbc.input.count.query'='select count(*) from (select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:46:28.0\\') tdt_sq_alias',\n'mapreduce.jdbc.splits.number'='1',\n'mapreduce.jdbc.username'='root', 'mapreduce.jdbc.password'='123456',\n'mapreduce.jdbc.driver.file'='\/tmp\/transporter1\/DRIVERS\/mysql-connector-java-5.1.39_admin1638152300550.jar')<\/code><\/pre>\n<pre><code class=\"language-sql\">--\u76ee\u6807ORC\u4e8b\u52a1\u8868\u548c\u6e90\u8868table_data\u7ed3\u6784\u4e00\u81f4\nCREATE TABLE IF NOT EXISTS <code>default<\/code>.<code>test_time<\/code> (\n<code>id<\/code> int,<code>username<\/code> string,<code>create_time<\/code> timestamp,<code>update_time<\/code> timestamp,<code>is_delete<\/code> int\n)\nCLUSTERED BY\n(<code>id<\/code>)\nINTO\n3 BUCKETS\nSTORED AS ORC TBLPROPERTIES ('transactional'='true')<\/code><\/pre>\n<p>\u8fd9\u91cc\u6211\u4eec\u770b\u4e0b\u53c2\u6570\u53d8\u5316\uff0c<code>tdt.job.record.last.original.value<\/code> \u548c <code>tdt.job.record.last.value<\/code> \u53d1\u751f\u6539\u53d8\uff0c\u503c\u66f4\u65b0\u4e3a<code>2021-12-16 14:46:28.0<\/code> \u548c \u65f6\u95f4\u6233 <code>1639637188<\/code><\/p>\n<p>inceptor\u4e2d\u5f53\u524d\u6570\u636e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639637496095.png\" alt=\"file\" \/><\/p>\n<p><strong>step4\uff1a\u6570\u636e\u6d41\u8c03\u8bd5(\u6267\u884cupdate)<\/strong><\/p>\n<p>\u5728mysql\u4e2d\u6a21\u62dfupdate\u6d4b\u8bd5\u6570\u636e<\/p>\n<pre><code class=\"language-sql\">UPDATE test_time set username='new_lisi' where id=2;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639637554155.png\" alt=\"file\" \/><\/p>\n<p>\u8fd9\u91ccusername\u548cupdate_time\u5747\u53d1\u751f\u6539\u53d8\u3002<\/p>\n<p>\u518d\u6b21\u8c03\u8bd5\uff0c\u5206\u6790\u4e00\u4e0b\u65e5\u5fd7\uff1a<\/p>\n<p>SyncJDBC_Reader\u9636\u6bb5\uff0c\u901a\u8fc7jdbc\u8bfb\u53d6\u6e90\u8868\uff0c\u6ce8\u610f\u5176\u4e2d\u7684<code>mapreduce.jdbc.input.query<\/code>\uff0cupdate_time\u8303\u56f4\u8981\u6c42\u5728<code>tdt.job.record.last.original.value<\/code> \u548c \u5f53\u524d\u6e90\u8868\u6700\u5927\u503c\u4e4b\u95f4\u3002<\/p>\n<pre><code class=\"language-sql\">CREATE TABLE <code>default<\/code>.<code>TDT__INTERNAL__4589588c772c401385b3583ca92d2a21<\/code> (\n<code>id<\/code> int,<code>username<\/code> string,<code>create_time<\/code> timestamp,<code>update_time<\/code> timestamp,<code>is_delete<\/code> int\n) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.tdt.JDBCSerde'\nSTORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.tdt.JDBCDBInputFormat' \nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'\nTBLPROPERTIES(\n'mapreduce.jdbc.driver.class'='com.mysql.jdbc.Driver',\n'mapreduce.jdbc.url'='jdbc:mysql:\/\/172.22.23.9:3306',\n'mapreduce.jdbc.input.query'='select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:51:55.0\\' and <code>update_time<\/code> > \\'2021-12-16 14:46:28.0\\'',\n'mapreduce.jdbc.input.count.query'='select count(*) from (select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:51:55.0\\' and <code>update_time<\/code> > \\'2021-12-16 14:46:28.0\\') tdt_sq_alias',\n'mapreduce.jdbc.splits.number'='1',\n'mapreduce.jdbc.username'='root', \n'mapreduce.jdbc.password'='123456',\n'mapreduce.jdbc.driver.file'='\/tmp\/transporter1\/DRIVERS\/mysql-connector-java-5.1.39_admin1638152300550.jar')<\/code><\/pre>\n<p>inceptor\u4e2d\u5f53\u524d\u6570\u636e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639637664581.png\" alt=\"file\" \/><\/p>\n<p><strong>step5\uff1a\u6570\u636e\u6d41\u8c03\u8bd5(\u6267\u884cdelete)<\/strong><\/p>\n<p>\u5728mysql\u4e2d\u6a21\u62df\u903b\u8f91\u5220\u9664\u6570\u636e<\/p>\n<pre><code class=\"language-sql\">update test_time set is_delete=1 where id=3;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639637783450.png\" alt=\"file\" \/><\/p>\n<p>\u518d\u6b21\u8c03\u8bd5\uff0c\u5206\u6790\u4e00\u4e0b\u65e5\u5fd7\uff1a<\/p>\n<p>SyncJDBC_Reader\u9636\u6bb5\uff0c\u901a\u8fc7jdbc\u8bfb\u53d6\u6e90\u8868\uff0c\u6ce8\u610f\u5176\u4e2d\u7684<code>mapreduce.jdbc.input.query<\/code>\uff0cUPDATE_TIME\u8303\u56f4\u8981\u6c42\u5728<code>tdt.job.record.last.original.value<\/code> \u548c \u6700\u5927\u503c\u4e4b\u95f4\u3002<\/p>\n<pre><code class=\"language-sql\">CREATE TABLE <code>default<\/code>.<code>TDT__INTERNAL__dd1942d76bba44beacab9a83a51201df<\/code> (\n<code>id<\/code> int,<code>username<\/code> string,<code>create_time<\/code> timestamp,<code>update_time<\/code> timestamp,<code>is_delete<\/code> int\n) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.tdt.JDBCSerde'\nSTORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.tdt.JDBCDBInputFormat' \nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'\nTBLPROPERTIES(\n'mapreduce.jdbc.driver.class'='com.mysql.jdbc.Driver',\n'mapreduce.jdbc.url'='jdbc:mysql:\/\/172.22.23.9:3306',\n'mapreduce.jdbc.input.query'='select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:55:55.0\\' and <code>update_time<\/code> > \\'2021-12-16 14:51:55.0\\'',\n'mapreduce.jdbc.input.count.query'='select count(*) from (select * from <code>lkw<\/code>.<code>test_time<\/code> where 1=1 and <code>update_time<\/code> <= \\'2021-12-16 14:55:55.0\\' and <code>update_time<\/code> > \\'2021-12-16 14:51:55.0\\') tdt_sq_alias',\n'mapreduce.jdbc.splits.number'='1',\n'mapreduce.jdbc.username'='root', \n'mapreduce.jdbc.password'='123456',\n'mapreduce.jdbc.driver.file'='\/tmp\/transporter1\/DRIVERS\/mysql-connector-java-5.1.39_admin1638152300550.jar')<\/code><\/pre>\n<p>inceptor\u4e2d\u5f53\u524d\u6570\u636e\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/12\/image-1639637855747.png\" alt=\"file\" \/><\/p>\n<p>\u5728\u505a\u67e5\u8be2\u65f6\uff0c\u53ef\u4ee5\u6839\u636e<code>is_delete=0<\/code> \u6765\u7b5b\u9009\u6709\u6548\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u5728TDT\u6279\u91cf\u6570\u636e\u6d41\u4e2d\uff0c\u67093\u79cd\u540c\u6b65\u65b9\u5f0f\u53ef\u9009\uff0c\u5305\u62ec\u901a\u8fc7\u65e5\u5fd7\uff0c\u901a\u8fc7\u65f6\u95f4\u6233\u548c\u6807\u8bc6\u5217\uff0c\u901a\u8fc7\u65b0\u589e\u4e0e\u66f4\u65b0\u65f6\u95f4\u6233\u3002\u672c ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=7359\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-7359","post","type-post","status-publish","format-standard","hentry","category-configuration"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/7359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7359"}],"version-history":[{"count":0,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/7359\/revisions"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}