-
Notifications
You must be signed in to change notification settings - Fork 86
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
nats subject mapping does not work #703
Comments
I am not sure tbh maybe @jnmoyne knows |
Seems to be an issue at the server-side. Specifically in the if nphs < npwcs {
// not all wildcards are being used in the destination
return nil, &mappingDestinationErr{dest, ErrMappingDestinationNotUsingAllWildcards}
} The |
Currently subject mapping transforms still abide by the rule of "MUST be using all of the partial wildcard tokens defined in the transform's source", which many people have asked about (wanting for that restriction to be removed). The particular mapping in question should now work once nats-io/nats-server#3887 gets merged in, but I am still working on the relaxing of the overall rule of "must be using all tokens" and will keep this open (unless you want to create an issue specifically about transforms not needing to use all of the partial wildcard tokens in the source in the nats-server repo). |
I think I have found a bug in nats subject mapping.
This should not cause error.
Also, why it is an issue, if I don't want to use all the wildcards in the dest subj?
The text was updated successfully, but these errors were encountered: