Skip to content
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

Merged
merged 7 commits into from
Oct 11, 2023

Conversation

ItalyPaleAle
Copy link
Contributor

Fixes #3602

Also includes docs for dapr/components-contrib#2975

@ItalyPaleAle ItalyPaleAle requested review from a team as code owners October 11, 2023 18:48
@@ -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"` |
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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

@msfussell msfussell merged commit 74cf5ce into dapr:v1.12 Oct 11, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants