-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated docs for postgres and mysql components #3811
Conversation
Fixes dapr#3602 Also includes docs for dapr/components-contrib#2975 Signed-off-by: ItalyPaleAle <[email protected]>
daprdocs/content/en/reference/components-reference/supported-bindings/mysql.md
Outdated
Show resolved
Hide resolved
@@ -55,21 +55,27 @@ Note that you can not use secret just for username/password. If you use secret, | |||
| `maxOpenConns` | N | Output | The max open connections. Integer greater than 0 | `"10"` | | |||
| `connMaxLifetime` | N | Output | The max connection lifetime. Duration string | `"12s"` | | |||
| `connMaxIdleTime` | N | Output | The max connection idel time. Duration string | `"12s"` | | |||
| `direction` | N | Output | The direction of the binding | `"output"` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the direction
on this component. We put these into all binding to be explicit that this is useful for separation of Dapr sidecar from asking the app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only an output binding so the direction is irrelevant. I think it causes more confusion than anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still tells the sidecar information that is needed. Even for output only bindings this is useful, yes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is a no-op for output bindings, just adds confusion to users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am referring specifically to output-only bindings. A binding that is input-only or input and output can benefit from this. But output bindings don't need this
daprdocs/content/en/reference/components-reference/supported-bindings/mysql.md
Outdated
Show resolved
Hide resolved
daprdocs/content/en/reference/components-reference/supported-bindings/postgresql.md
Show resolved
Hide resolved
…indings/mysql.md Signed-off-by: Mark Fussell <[email protected]>
Fixes #3602
Also includes docs for dapr/components-contrib#2975