docs: update kafka/operation

This commit is contained in:
Administrator 2022-01-20 13:13:09 +00:00 committed by John Smith
parent dbb230d78b
commit c28e111f43

View File

@ -2,7 +2,7 @@
title: 基本操作 title: 基本操作
description: description:
published: true published: true
date: 2022-01-20T03:45:31.873Z date: 2022-01-20T13:13:08.033Z
tags: kafka tags: kafka
editor: markdown editor: markdown
dateCreated: 2022-01-20T03:45:31.873Z dateCreated: 2022-01-20T03:45:31.873Z
@ -12,6 +12,12 @@ dateCreated: 2022-01-20T03:45:31.873Z
进入 bin 目录 进入 bin 目录
``` ```bash
$ ./kafka-topics.sh --bootstrap-server localhost:9092 --list $ ./kafka-topics.sh --bootstrap-server localhost:9092 --list
``` ```
# 删除主题
```bash
$ ./kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic deleteTopic
```