You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give GetListener a params struct instead of a raw string (#867)
In #848 I went through and gave all driver functions a params struct
instead of whatever they had before. This tends to be more convenient
because it's uniform everywhere, and means that we need to change less
when a new specific parameter is added henceforth.
One I'd intended to do but forgot about was `GetListener` which
currently just takes a raw schema string. We haven't cut a release for
the change in #848, so it's a good time to change these driver
interfaces now, so here we give `GetListener` a params struct as well.
This is partly driven by me investigating [1], in which it might be
desirable to have a sub-schema leadership namespace so that different
River clients configured with different periodic jobs could run inside
the same River schema, which would necessitate a new listener parameter.
I'm not sure whether this project is a good idea or not yet, so I'll
need to investigate a little more.
[1] #742 (comment)
0 commit comments