generated from ConduitIO/conduit-connector-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paramgen_dest.go
89 lines (86 loc) · 3.07 KB
/
paramgen_dest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Code generated by paramgen. DO NOT EDIT.
// Source: github.com/ConduitIO/conduit-connector-sdk/tree/main/cmd/paramgen
package pulsar
import (
sdk "github.com/conduitio/conduit-connector-sdk"
)
func (DestinationConfig) Parameters() map[string]sdk.Parameter {
return map[string]sdk.Parameter{
"connectionTimeout": {
Default: "",
Description: "connectionTimeout specifies the duration for which the client will attempt to establish a connection before timing out.",
Type: sdk.ParameterTypeDuration,
Validations: []sdk.Validation{},
},
"enableTransaction": {
Default: "",
Description: "enableTransaction determines if the client should support transactions.",
Type: sdk.ParameterTypeBool,
Validations: []sdk.Validation{},
},
"maxConnectionsPerBroker": {
Default: "",
Description: "maxConnectionsPerBroker limits the number of connections to each broker.",
Type: sdk.ParameterTypeInt,
Validations: []sdk.Validation{},
},
"memoryLimitBytes": {
Default: "",
Description: "memoryLimitBytes sets the memory limit for the client in bytes. If the limit is exceeded, the client may start to block or fail operations.",
Type: sdk.ParameterTypeInt,
Validations: []sdk.Validation{},
},
"operationTimeout": {
Default: "",
Description: "operationTimeout is the duration after which an operation is considered to have timed out.",
Type: sdk.ParameterTypeDuration,
Validations: []sdk.Validation{},
},
"tlsAllowInsecureConnection": {
Default: "",
Description: "tlsAllowInsecureConnection configures whether the internal Pulsar client accepts untrusted TLS certificate from broker (default: false)",
Type: sdk.ParameterTypeBool,
Validations: []sdk.Validation{},
},
"tlsCertificateFile": {
Default: "",
Description: "tlsCertificateFile sets the path to the TLS certificate file",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"tlsKeyFilePath": {
Default: "",
Description: "tlsKeyFilePath sets the path to the TLS key file",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"tlsTrustCertsFilePath": {
Default: "",
Description: "tlsTrustCertsFilePath sets the path to the trusted TLS certificate file",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{},
},
"tlsValidateHostname": {
Default: "",
Description: "tlsValidateHostname configures whether the Pulsar client verifies the validity of the host name from broker (default: false)",
Type: sdk.ParameterTypeBool,
Validations: []sdk.Validation{},
},
"topic": {
Default: "",
Description: "topic specifies the Pulsar topic used by the connector.",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{
sdk.ValidationRequired{},
},
},
"url": {
Default: "",
Description: "url of the Pulsar instance to connect to.",
Type: sdk.ParameterTypeString,
Validations: []sdk.Validation{
sdk.ValidationRequired{},
},
},
}
}