docs: update kafka/operation
This commit is contained in:
parent
dbb230d78b
commit
c28e111f43
@ -2,7 +2,7 @@
|
||||
title: 基本操作
|
||||
description:
|
||||
published: true
|
||||
date: 2022-01-20T03:45:31.873Z
|
||||
date: 2022-01-20T13:13:08.033Z
|
||||
tags: kafka
|
||||
editor: markdown
|
||||
dateCreated: 2022-01-20T03:45:31.873Z
|
||||
@ -12,6 +12,12 @@ dateCreated: 2022-01-20T03:45:31.873Z
|
||||
|
||||
进入 bin 目录
|
||||
|
||||
```
|
||||
```bash
|
||||
$ ./kafka-topics.sh --bootstrap-server localhost:9092 --list
|
||||
```
|
||||
|
||||
# 删除主题
|
||||
|
||||
```bash
|
||||
$ ./kafka-topics.sh --bootstrap-server localhost:9092 --delete --topic deleteTopic
|
||||
```
|
Loading…
Reference in New Issue
Block a user