[
https://issues.apache.org/jira/browse/ARTEMIS-4553?focusedWorklogId=898130&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-898130
]
ASF GitHub Bot logged work on ARTEMIS-4553:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jan/24 03:31
Start Date: 05/Jan/24 03:31
Worklog Time Spent: 10m
Work Description: jbertram commented on PR #4730:
URL:
https://github.com/apache/activemq-artemis/pull/4730#issuecomment-1878075475
Thinking about this more...I'm more against it than before. I believe that
opening this door is going to be bad for usability - both for users and
developers.
Right now, `*` means **a single word**. If we start accepting "partial
words" then what does `*` become? Is it any single _character_? Is it 0 or more
of any character (e.g. as it might be in a regular expression)? Also, how to
partial words compare to each other in a hierarchy where matches are ordered
from general to specific? Would `ab*` be more specific than `a*` when matching
`abc`? What about `a*c`? Is that even supported? Where do we draw the line?
Furthermore, what do we do with `#`? Should we support partial matches with
it? If so, what does that mean? If not, why not?
The potential configurations start to expand very quickly and will no doubt
add complication to the code, the test-suite, and the documentation.
The currently documented functionality is simple & powerful and we should
keep it that way.
If there's a bug here it's that undocumented behavior is allowed and
somewhat functional leading folks to assume it's intentional. I'm not saying we
should fix that necessarily, but we should at least consider it so we don't
keep letting folks get confused.
Issue Time Tracking
-------------------
Worklog Id: (was: 898130)
Time Spent: 0.5h (was: 20m)
> Support partial word matches for address settings
> -------------------------------------------------
>
> Key: ARTEMIS-4553
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4553
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently, though the documentation specifies that the "*" wildcard matcher
> is only intended to match a complete word (delimited string using the
> configured delimiter), it appears that it also works for partial word
> matches, like "
> Could this behavior be supported and documented going forward, as reverting
> this behavior would break existing configurations?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)