1.5. 文档惯例
user-replaced 值
用户替换的值(也称为 可替换值)显示为包括在尖括号 (< >) 中的斜体字符。下划线(_)用于多词语值。如果值引用代码或命令,也使用 monospace
。
例如,在以下代码中,您要将 <bootstrap_address>
和 <topic_name>
替换为您自己的地址和主题名称:
bin/kafka-console-consumer.sh --bootstrap-server <bootstrap_address> --topic <topic_name> --from-beginning
bin/kafka-console-consumer.sh --bootstrap-server <bootstrap_address> --topic <topic_name> --from-beginning