-
Notifications
You must be signed in to change notification settings - Fork 6
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
Allow complex paths #296
Comments
Yes, I realized that recently too. Although not for sources but for operations, a slightly different scenario. For example, About sources, I wonder if multiple attributes are needed. For HTTP Listener, if application is having multiple listener configs, then probably yes. AFAIK, AMQP and similar connectors use single key for source subscription. However, I agree, there are so many connectors and they may have different behaviors :). Defining a (flexible) path value strategy could be helpful. I appreciate the suggestion of xpath-expressions and will look through more connector examples to understand variations of source paths. |
I've implemented a solution for this in my fork. Please take a look. |
@ChristianLangmann Thank you for the work. I looked at your fork (via commit comparison). Tests were helpful to understand what is being done there. Would you like to raise a Draft PR so we can review/discuss it?
I am not sure if I followed you there correctly. Are you referring to the |
Using only one attribute for a path is limiting the uniqueness for sources.
E.g. HTTP-Listener could depend on path and port
AMQP could use keys as queues that are declared at a child of the source-element.
A solution could be to allow the path to contain xpath-expressions, for example.
The text was updated successfully, but these errors were encountered: