feature/pulsar: provide token && http request

Signed-off-by: 1046102779 <seachen@tencent.com>
This commit is contained in:
1046102779 2022-01-13 09:38:27 +08:00
parent 97c65efd54
commit 78d918ca37
1 changed files with 4 additions and 1 deletions

View File

@ -24,14 +24,17 @@ spec:
value: "localhost:6650"
- name: enableTLS
value: "false"
- name: token
value: "eyJrZXlJZCI6InB1bHNhci1wajU0cXd3ZHB6NGIiLCJhbGciOiJIUzI1NiJ9.eyJzd"
```
## Spec metadata fields
| Field | Required | Details | Example |
|--------------------|:--------:|---------|---------|
| host | Y | Address of the Pulsar broker. Default is `"localhost:6650"` | `"localhost:6650"`|
| host | Y | Address of the Pulsar broker. Default is `"localhost:6650"` | `"localhost:6650"` OR `"http://pulsar-pj54qwwdpz4b-pulsar.ap-sg.public.pulsar.com:8080"`|
| enableTLS | N | Enable TLS. Default: `"false"` | `"true"`, `"false"`|
| token | N | Enable Authentication. | [How to create pulsar token](https://pulsar.apache.org/docs/en/security-jwt/#generate-tokens)|
### Delay queue