Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 committed Mar 5, 2024
1 parent 3912da6 commit 754d1ba
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
5 changes: 4 additions & 1 deletion e2e_test/source/basic/pubsub.slt
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@ SELECT definition FROM rw_tables WHERE name='s3';
CREATE TABLE s3 (v1 INT, v2 CHARACTER VARYING) WITH (pubsub.subscription = 'test-subscription-1', pubsub.emulator_host = 'localhost:5980', pubsub.credentials = '[REDACTED]') FORMAT PLAIN ENCODE JSON

statement ok
DROP TABLE s3;
DROP TABLE s3;

statement ok
DROP USER other_user;
10 changes: 5 additions & 5 deletions src/connector/with_options_sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ KafkaConfig:
comments: Path to client's private key file (PEM).
required: false
- name: properties.ssl.key.password
field_type: String
field_type: SecretString
comments: Passphrase of client's private key.
required: false
- name: properties.sasl.mechanism
Expand All @@ -201,7 +201,7 @@ KafkaConfig:
comments: SASL username for SASL/PLAIN and SASL/SCRAM.
required: false
- name: properties.sasl.password
field_type: String
field_type: SecretString
comments: SASL password for SASL/PLAIN and SASL/SCRAM.
required: false
- name: properties.sasl.kerberos.service.name
Expand Down Expand Up @@ -361,10 +361,10 @@ NatsConfig:
field_type: String
required: false
- name: password
field_type: String
field_type: SecretString
required: false
- name: jwt
field_type: String
field_type: SecretString
required: false
- name: nkey
field_type: String
Expand Down Expand Up @@ -406,7 +406,7 @@ PulsarConfig:
required: true
alias: pulsar.service.url
- name: auth.token
field_type: String
field_type: SecretString
required: false
- name: oauth.issuer.url
field_type: String
Expand Down
12 changes: 6 additions & 6 deletions src/connector/with_options_source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ KafkaProperties:
comments: Path to client's private key file (PEM).
required: false
- name: properties.ssl.key.password
field_type: String
field_type: SecretString
comments: Passphrase of client's private key.
required: false
- name: properties.sasl.mechanism
Expand All @@ -130,7 +130,7 @@ KafkaProperties:
comments: SASL username for SASL/PLAIN and SASL/SCRAM.
required: false
- name: properties.sasl.password
field_type: String
field_type: SecretString
comments: SASL password for SASL/PLAIN and SASL/SCRAM.
required: false
- name: properties.sasl.kerberos.service.name
Expand Down Expand Up @@ -258,10 +258,10 @@ NatsProperties:
field_type: String
required: false
- name: password
field_type: String
field_type: SecretString
required: false
- name: jwt
field_type: String
field_type: SecretString
required: false
- name: nkey
field_type: String
Expand Down Expand Up @@ -513,7 +513,7 @@ PubsubProperties:
comments: use the connector with a pubsub emulator <https://cloud.google.com/pubsub/docs/emulator>
required: false
- name: pubsub.credentials
field_type: String
field_type: SecretString
comments: '`credentials` is a JSON string containing the service account credentials. See the [service-account credentials guide](https://developers.google.com/workspace/guides/create-credentials#create_credentials_for_a_service_account). The service account must have the `pubsub.subscriber` [role](https://cloud.google.com/pubsub/docs/access-control#roles).'
required: false
- name: pubsub.start_offset.nanos
Expand Down Expand Up @@ -543,7 +543,7 @@ PulsarProperties:
required: true
alias: pulsar.service.url
- name: auth.token
field_type: String
field_type: SecretString
required: false
- name: oauth.issuer.url
field_type: String
Expand Down

0 comments on commit 754d1ba

Please sign in to comment.