Skip to content

Commit

Permalink
Add sensitive column for configuration properties (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng authored Dec 18, 2023
1 parent e850bf6 commit c9b5bf3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions docs/amqp-1-0-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ Before using the AMQP 1.0 sink connector, you need to configure it.

You can create a configuration file (JSON or YAML) to set the following properties.

| Name | Type | Required | Default | Description |
|---------------------|------------|----------------------------------------------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `protocol` | String | required if connection is not used | "amqp" | [deprecated: use connection instead] The AMQP protocol. |
| `host` | String | required if connection is not used | " " (empty string) | [deprecated: use connection instead] The AMQP service host. |
| `port` | int | required if connection is not used | 5672 | [deprecated: use connection instead] The AMQP service port. |
| `connection` | Connection | required if protocol, host, port is not used | " " (empty string) | The connection details. |
| `username` | String | false | " " (empty string) | The username used to authenticate to ActiveMQ. |
| `password` | String | false | " " (empty string) | The password used to authenticate to ActiveMQ. |
| `queue` | String | false | " " (empty string) | The queue name that messages should be read from or written to. |
| `topic` | String | false | " " (empty string) | The topic name that messages should be read from or written to. |
| `activeMessageType` | String | false | 0 | The ActiveMQ message simple class name. |
| `onlyTextMessage` | boolean | false | false | If it is set to `true`, the AMQP message type must be set to `TextMessage`. Pulsar consumers can consume the messages with schema ByteBuffer. |
| Name | Type | Required | Sensitive | Default | Description |
|---------------------|------------|----------------------------------------------|-----------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `protocol` | String | required if connection is not used | false | "amqp" | [deprecated: use connection instead] The AMQP protocol. |
| `host` | String | required if connection is not used | false | " " (empty string) | [deprecated: use connection instead] The AMQP service host. |
| `port` | int | required if connection is not used | false | 5672 | [deprecated: use connection instead] The AMQP service port. |
| `connection` | Connection | required if protocol, host, port is not used | false | " " (empty string) | The connection details. |
| `username` | String | false | true | " " (empty string) | The username used to authenticate to ActiveMQ. |
| `password` | String | false | true | " " (empty string) | The password used to authenticate to ActiveMQ. |
| `queue` | String | false | false | " " (empty string) | The queue name that messages should be read from or written to. |
| `topic` | String | false | false | " " (empty string) | The topic name that messages should be read from or written to. |
| `activeMessageType` | String | false | false | 0 | The ActiveMQ message simple class name. |
| `onlyTextMessage` | boolean | false | false | false | If it is set to `true`, the AMQP message type must be set to `TextMessage`. Pulsar consumers can consume the messages with schema ByteBuffer. |

A `Connection` object can be specified as follows:

Expand Down
24 changes: 12 additions & 12 deletions docs/amqp-1-0-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,18 @@ Before using the AMQP 1.0 sink connector, you need to configure it.

You can create a configuration file (JSON or YAML) to set the following properties.

| Name | Type | Required | Default | Description |
|---------------------|------------|----------------------------------------------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `protocol` | String | required if connection is not used | "amqp" | [deprecated: use connection instead] The AMQP protocol. |
| `host` | String | required if connection is not used | " " (empty string) | [deprecated: use connection instead] The AMQP service host. |
| `port` | int | required if connection is not used | 5672 | [deprecated: use connection instead] The AMQP service port. |
| `connection` | Connection | required if protocol, host, port is not used | " " (empty string) | The connection details. |
| `username` | String | false | " " (empty string) | The username used to authenticate to ActiveMQ. |
| `password` | String | false | " " (empty string) | The password used to authenticate to ActiveMQ. |
| `queue` | String | false | " " (empty string) | The queue name that messages should be read from or written to. |
| `topic` | String | false | " " (empty string) | The topic name that messages should be read from or written to. |
| `activeMessageType` | String | false | 0 | The ActiveMQ message simple class name. |
| `onlyTextMessage` | boolean | false | false | If it is set to `true`, the AMQP message type must be set to `TextMessage`. Pulsar consumers can consume the messages with schema ByteBuffer. |
| Name | Type | Required | Sensitive | Default | Description |
|---------------------|------------|----------------------------------------------|-----------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `protocol` | String | required if connection is not used | false | "amqp" | [deprecated: use connection instead] The AMQP protocol. |
| `host` | String | required if connection is not used | false | " " (empty string) | [deprecated: use connection instead] The AMQP service host. |
| `port` | int | required if connection is not used | false | 5672 | [deprecated: use connection instead] The AMQP service port. |
| `connection` | Connection | required if protocol, host, port is not used | false | " " (empty string) | The connection details. |
| `username` | String | false | true | " " (empty string) | The username used to authenticate to ActiveMQ. |
| `password` | String | false | true | " " (empty string) | The password used to authenticate to ActiveMQ. |
| `queue` | String | false | false | " " (empty string) | The queue name that messages should be read from or written to. |
| `topic` | String | false | false | " " (empty string) | The topic name that messages should be read from or written to. |
| `activeMessageType` | String | false | false | 0 | The ActiveMQ message simple class name. |
| `onlyTextMessage` | boolean | false | false | false | If it is set to `true`, the AMQP message type must be set to `TextMessage`. Pulsar consumers can consume the messages with schema ByteBuffer. |

A `Connection` object can be specified as follows:

Expand Down

0 comments on commit c9b5bf3

Please sign in to comment.