tisonkun commented on code in PR #18526:
URL: https://github.com/apache/pulsar/pull/18526#discussion_r1027221266


##########
site2/docs/admin-api-topics.md:
##########
@@ -1686,45 +1740,16 @@ You can check the current statistics of a given topic. 
The following is an examp
 }
 ```
 
-You can check the current statistics of a given topic and its connected 
producers and consumers in the following ways.
-
-````mdx-code-block
-<Tabs groupId="api-choice"
-  defaultValue="pulsar-admin"
-  values={[{"label":"pulsar-admin","value":"pulsar-admin"},{"label":"REST 
API","value":"REST API"},{"label":"Java","value":"Java"}]}>
-<TabItem value="pulsar-admin">
-
-```shell
-pulsar-admin topics stats \
-persistent://test-tenant/namespace/topic \
---get-precise-backlog
-```
-
-</TabItem>
-<TabItem value="REST API">
-
-{@inject: 
endpoint|GET|/admin/v2/:schema/:tenant/:namespace/:topic/stats|operation/getStats?version=@pulsar:version_number@}
-
-</TabItem>
-<TabItem value="Java">
-
-```java
-admin.topics().getStats(topic, false /* is precise backlog */);
-```
-
-</TabItem>
-
-</Tabs>
-````
-
 ## Manage partitioned topics
 You can use Pulsar [admin API](admin-api-overview.md) to create, update, 
delete and check the status of partitioned topics.
 
 ### Create
 
-Partitioned topics must be explicitly created. When creating a new partitioned 
topic, you need to provide a name and the number of partitions for the topic.
+When creating a new partitioned topic, you need to provide a name and the 
number of partitions for the topic.
 
-By default, 60 seconds after creation, topics are considered inactive and 
deleted automatically to avoid generating trash data. To disable this feature, 
set `brokerDeleteInactiveTopicsEnabled` to `false`. To change the frequency of 
checking inactive topics, set `brokerDeleteInactiveTopicsFrequencySeconds` to a 
specific value.
+:::note
+By default, if there are no messages 60 seconds after creation, topics are 
considered inactive and deleted automatically to avoid generating trash data. 
To disable this feature, set `brokerDeleteInactiveTopicsEnabled` to `false`. To 
change the frequency of checking inactive topics, set 
`brokerDeleteInactiveTopicsFrequencySeconds` to a specific value.
+:::

Review Comment:
   :)
   
   You can read the syntax guide and jump to MDX/Docusaurus references:
   
   * https://pulsar.apache.org/contribute/document-syntax
   * https://docusaurus.io/docs/markdown-features



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to