|
82 | 82 | hclspec.NewLiteral(`""`)),
|
83 | 83 | "memory": hclspec.NewAttr("memory", "string", false),
|
84 | 84 | "big_tx_max_jobs": hclspec.NewAttr("big_tx_max_jobs", "number", false),
|
85 |
| - "log_file": hclspec.NewDefault(hclspec.NewAttr("log_file", "string", false), |
| 85 | + "log_file": hclspec.NewDefault(hclspec.NewAttr("log_file", "string", false), |
86 | 86 | hclspec.NewLiteral(`"/var/log/dtle"`)),
|
87 | 87 | })
|
88 | 88 |
|
@@ -164,6 +164,8 @@ var (
|
164 | 164 | "TopicWithSchemaTable": hclspec.NewDefault(hclspec.NewAttr("TopicWithSchemaTable", "bool", false),
|
165 | 165 | hclspec.NewLiteral(`true`)),
|
166 | 166 | "SchemaChangeTopic": hclspec.NewAttr("SchemaChangeTopic", "string", false),
|
| 167 | + "User": hclspec.NewAttr("User", "string", false), |
| 168 | + "Password": hclspec.NewAttr("SchemaChangeTopic", "string", false), |
167 | 169 | })),
|
168 | 170 | // Since each job has its own history, this should be smaller than MySQL default (25000).
|
169 | 171 | "DependencyHistorySize": hclspec.NewDefault(hclspec.NewAttr("DependencyHistorySize", "number", false),
|
@@ -229,8 +231,8 @@ type Driver struct {
|
229 | 231 | // logger will log to the Nomad agent
|
230 | 232 | logger g.LoggerType
|
231 | 233 |
|
232 |
| - stand *stand.StanServer |
233 |
| - apiServer *httprouter.Router |
| 234 | + stand *stand.StanServer |
| 235 | + apiServer *httprouter.Router |
234 | 236 | setupApiServerFn func(logger g.LoggerType, driverConfig *DriverConfig) error
|
235 | 237 |
|
236 | 238 | config *DriverConfig
|
|
0 commit comments