{"id":784,"date":"2023-08-16T09:43:45","date_gmt":"2023-08-16T01:43:45","guid":{"rendered":"https:\/\/zhaocunwei.co.uk\/?p=784"},"modified":"2023-08-16T09:48:38","modified_gmt":"2023-08-16T01:48:38","slug":"kafka","status":"publish","type":"post","link":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/","title":{"rendered":"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861"},"content":{"rendered":"<h1>\u524d\u8a00<\/h1>\n<p>\u5728Apache Kafka\u4e2d\uff0cBroker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f\uff0c\u4ee5\u53ca\u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<h1>\u539f\u7406<\/h1>\n<h2>Broker<\/h2>\n<p>Kafka Broker\u662f\u6d88\u606f\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u8d1f\u8d23\u5b58\u50a8\u548c\u4f20\u9012\u6d88\u606f\u3002\u591a\u4e2aBroker\u53ef\u4ee5\u7ec4\u6210\u4e00\u4e2aKafka\u96c6\u7fa4\u3002Broker\u4e4b\u95f4\u901a\u8fc7\u5206\u533a\uff08Partitions\uff09\u6765\u5206\u644a\u8d1f\u8f7d\uff0c\u6bcf\u4e2a\u5206\u533a\u90fd\u5728\u4e0d\u540c\u7684Broker\u4e0a\u3002<\/p>\n<h2>Producer<\/h2>\n<p>Kafka Producer\u8d1f\u8d23\u5c06\u6d88\u606f\u53d1\u9001\u5230Broker\u3002Producer\u5e76\u4e0d\u9700\u8981\u660e\u786e\u77e5\u9053\u6d88\u606f\u5c06\u53d1\u9001\u5230\u54ea\u4e2a\u5206\u533a\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u51b3\u7b56\u662f\u7531Kafka\u81ea\u52a8\u5b8c\u6210\u7684\u3002<\/p>\n<h2>Consumer<\/h2>\n<p>Kafka Consumer\u8ba2\u9605\u4e00\u4e2a\u6216\u591a\u4e2aTopic\uff0c\u5e76\u6d88\u8d39Broker\u4e0a\u7684\u6d88\u606f\u3002Consumer Group\u662f\u4e00\u7ec4Consumer\u7684\u96c6\u5408\uff0c\u5171\u540c\u6d88\u8d39\u4e00\u4e2aTopic\u7684\u6d88\u606f\u3002Kafka\u901a\u8fc7\u5206\u533a\u548cConsumer Group\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<p>Kafka\u4e2d\u7684\u5206\u533a\u548c\u526f\u672c\uff08Replicas\uff09\uff1a<\/p>\n<p>\u6bcf\u4e2aTopic\u53ef\u4ee5\u5206\u4e3a\u591a\u4e2a\u5206\u533a\u3002<br \/>\n\u6bcf\u4e2a\u5206\u533a\u53ef\u4ee5\u6709\u591a\u4e2a\u526f\u672c\uff0c\u4e00\u4e2aLeader\u526f\u672c\u548c\u96f6\u4e2a\u6216\u591a\u4e2aFollower\u526f\u672c\u3002<br \/>\nProducer\u5c06\u6d88\u606f\u53d1\u9001\u5230\u7279\u5b9aTopic\u7684\u5206\u533a\uff0cKafka\u4fdd\u8bc1\u76f8\u540c\u5206\u533a\u7684\u6d88\u606f\u987a\u5e8f\u3002<br \/>\nConsumer Group\u4e2d\u7684Consumer\u4f1a\u534f\u8c03\u6d88\u8d39\uff0c\u6bcf\u4e2a\u5206\u533a\u53ea\u88ab\u4e00\u4e2aConsumer Group\u4e2d\u7684\u4e00\u4e2aConsumer\u6d88\u8d39\u3002<\/p>\n<h4>Kafka Producer\u793a\u4f8b<\/h4>\n<pre><code class=\"language-java\">import org.apache.kafka.clients.producer.*;\nimport java.util.Properties;\npublic class KafkaProducerExample {\n    public static void main(String[] args) {\n        String bootstrapServers = &quot;localhost:9092&quot;;\n        String topic = &quot;test-topic&quot;;\n        Properties properties = new Properties();\n        properties.setProperty(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);\n        properties.setProperty(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringSerializer&quot;);\n        properties.setProperty(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringSerializer&quot;);\n        Producer&lt;String, String&gt; producer = new KafkaProducer&lt;&gt;(properties);\n        for (int i = 0; i &lt; 10; i++) {\n            ProducerRecord&lt;String, String&gt; record = new ProducerRecord&lt;&gt;(topic, &quot;key&quot; + i, &quot;value&quot; + i);\n            producer.send(record);\n        }\n        producer.close();\n    }\n}<\/code><\/pre>\n<h4>Kafka Consumer\u793a\u4f8b<\/h4>\n<pre><code class=\"language-java\">import org.apache.kafka.clients.consumer.*;\nimport java.time.Duration;\nimport java.util.Collections;\nimport java.util.Properties;\npublic class KafkaConsumerExample {\n    public static void main(String[] args) {\n        String bootstrapServers = &quot;localhost:9092&quot;;\n        String groupId = &quot;test-group&quot;;\n        String topic = &quot;test-topic&quot;;\n        Properties properties = new Properties();\n        properties.setProperty(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);\n        properties.setProperty(ConsumerConfig.GROUP_ID_CONFIG, groupId);\n        properties.setProperty(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);\n        properties.setProperty(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);\n        Consumer&lt;String, String&gt; consumer = new KafkaConsumer&lt;&gt;(properties);\n        consumer.subscribe(Collections.singletonList(topic));\n        while (true) {\n            ConsumerRecords&lt;String, String&gt; records = consumer.poll(Duration.ofMillis(100));\n            for (ConsumerRecord&lt;String, String&gt; record : records) {\n                System.out.println(&quot;Received message: key = &quot; + record.key() + &quot;, value = &quot; + record.value());\n            }\n        }\n    }\n}<\/code><\/pre>\n<h4>Kafka Producer \u6d4b\u8bd5\u4ee3\u7801<\/h4>\n<pre><code class=\"language-java\">import org.apache.kafka.clients.producer.*;\nimport java.util.Properties;\npublic class KafkaProducerTest {\n    public static void main(String[] args) {\n        String bootstrapServers = &quot;localhost:9092&quot;;\n        String topic = &quot;test-topic&quot;;\n        Properties properties = new Properties();\n        properties.setProperty(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);\n        properties.setProperty(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringSerializer&quot;);\n        properties.setProperty(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringSerializer&quot;);\n        Producer&lt;String, String&gt; producer = new KafkaProducer&lt;&gt;(properties);\n        for (int i = 0; i &lt; 10; i++) {\n            ProducerRecord&lt;String, String&gt; record = new ProducerRecord&lt;&gt;(topic, &quot;key&quot; + i, &quot;value&quot; + i);\n            producer.send(record, new Callback() {\n                @Override\n                public void onCompletion(RecordMetadata metadata, Exception exception) {\n                    if (exception == null) {\n                        System.out.println(&quot;Sent message to topic &quot; + metadata.topic() +\n                                &quot;, partition &quot; + metadata.partition() +\n                                &quot;, offset &quot; + metadata.offset());\n                    } else {\n                        System.err.println(&quot;Error sending message: &quot; + exception.getMessage());\n                    }\n                }\n            });\n        }\n        producer.close();\n    }\n}<\/code><\/pre>\n<h4>Kafka Consumer \u6d4b\u8bd5\u4ee3\u7801<\/h4>\n<pre><code class=\"language-java\">import org.apache.kafka.clients.consumer.*;\nimport java.time.Duration;\nimport java.util.Collections;\nimport java.util.Properties;\npublic class KafkaConsumerTest {\n    public static void main(String[] args) {\n        String bootstrapServers = &quot;localhost:9092&quot;;\n        String groupId = &quot;test-group&quot;;\n        String topic = &quot;test-topic&quot;;\n        Properties properties = new Properties();\n        properties.setProperty(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);\n        properties.setProperty(ConsumerConfig.GROUP_ID_CONFIG, groupId);\n        properties.setProperty(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);\n        properties.setProperty(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);\n        Consumer&lt;String, String&gt; consumer = new KafkaConsumer&lt;&gt;(properties);\n        consumer.subscribe(Collections.singletonList(topic));\n        while (true) {\n            ConsumerRecords&lt;String, String&gt; records = consumer.poll(Duration.ofMillis(100));\n            for (ConsumerRecord&lt;String, String&gt; record : records) {\n                System.out.println(&quot;Received message: key = &quot; + record.key() + &quot;, value = &quot; + record.value());\n            }\n        }\n    }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5728Apache Kafka\u4e2d\uff0cBroker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f\uff0c\u4ee5\u53ca [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false},"categories":[1],"tags":[],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug<\/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:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5728Apache Kafka\u4e2d\uff0cBroker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f\uff0c\u4ee5\u53ca [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/\" \/>\n<meta property=\"og:site_name\" content=\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-16T01:43:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-16T01:48:38+00:00\" \/>\n<meta name=\"author\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/\",\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/\",\"name\":\"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"isPartOf\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\"},\"datePublished\":\"2023-08-16T01:43:45+00:00\",\"dateModified\":\"2023-08-16T01:48:38+00:00\",\"author\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\"},\"breadcrumb\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/zhaocunwei.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\",\"url\":\"https:\/\/zhaocunwei.co.uk\/\",\"name\":\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"description\":\"This site shares programming bugs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\",\"name\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"caption\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\"},\"sameAs\":[\"http:\/\/zhaocunwei.co.uk\"],\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","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:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/","og_locale":"zh_CN","og_type":"article","og_title":"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","og_description":"\u524d\u8a00 \u5728Apache Kafka\u4e2d\uff0cBroker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f\uff0c\u4ee5\u53ca [&hellip;]","og_url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/","og_site_name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","article_published_time":"2023-08-16T01:43:45+00:00","article_modified_time":"2023-08-16T01:48:38+00:00","author":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/","url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/","name":"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","isPartOf":{"@id":"https:\/\/zhaocunwei.co.uk\/#website"},"datePublished":"2023-08-16T01:43:45+00:00","dateModified":"2023-08-16T01:48:38+00:00","author":{"@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4"},"breadcrumb":{"@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/16\/kafka\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/zhaocunwei.co.uk\/"},{"@type":"ListItem","position":2,"name":"Kafka:Broker\u3001Producer\u548cConsumer\u90fd\u539f\u751f\u81ea\u52a8\u652f\u6301\u5206\u5e03\u5f0f \u81ea\u52a8\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861"}]},{"@type":"WebSite","@id":"https:\/\/zhaocunwei.co.uk\/#website","url":"https:\/\/zhaocunwei.co.uk\/","name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","description":"This site shares programming bugs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Person","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4","name":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","caption":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46"},"sameAs":["http:\/\/zhaocunwei.co.uk"],"url":"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/"}]}},"_links":{"self":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/784"}],"collection":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=784"}],"version-history":[{"count":1,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/784\/revisions"}],"predecessor-version":[{"id":785,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/784\/revisions\/785"}],"wp:attachment":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}