Commit 4213953
authored
docs(admin-api-topics): document topic truncate operation (#1121)
Add a "Truncate topic" section in admin-api-topics.md with the
standard pulsar-admin / REST API / Java tab layout, matching the
style of the surrounding Unload/Delete sections.
The feature itself has been available for years via
`pulsar-admin topics truncate` (CmdTopics.TruncateCmd), the
Topics#truncate(String) Java admin API, and
`DELETE /{tenant}/{namespace}/{topic}/truncate` on the broker
(PersistentTopics#truncateTopic). It just wasn't documented on
pulsar.apache.org/docs/*/admin-api-topics/.
Fixes apache/pulsar#240861 parent fdf9023 commit 4213953
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
260 | 292 | | |
261 | 293 | | |
262 | 294 | | |
| |||
0 commit comments