Update setup-pulsar.md

This commit is contained in:
yellow chicks 2021-11-06 07:00:43 +08:00 committed by GitHub
parent 25e603070d
commit 62589d0348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -42,15 +42,8 @@ These optional parameter names are `metadata.deliverAt` or `metadata.deliverAfte
- `deliverAt`: Delay message to deliver at a specified time (RFC3339 format), e.g. `"2021-09-01T10:00:00Z"`
- `deliverAfter`: Delay message to deliver after a specified amount of time, e.g.`"4h5m3s"`
| Field | Required | Details | Example |
|--------------------|:--------:|---------|---------|
| deliverAt | N | delay queue configuration param. use time RFC3339, Default is empty | `"2021-09-01T10:00:00Z"`|
| deliverAfter | N | delay queue configuration param. Default is empty | `"4h5m3s"`|
Examples:
```shell
curl -X POST http://localhost:3500/v1.0/publish/myPulsar/myTopic?metadata.deliverAt='2021-09-01T10:00:00Z' \
-H "Content-Type: application/json" \