grails-core icon indicating copy to clipboard operation
grails-core copied to clipboard

Async Documentation has old coordinates

Open darkattractions opened this issue 2 weeks ago • 4 comments

Expected Behavior

in the last documentation for grails 7, for rxjava support, we need to add the following dependency implementation 'org.apache.grails:grails-rxjava:{version}'

Actual Behaviour

org.apache.grails:grails-rxjava does not exist. Using the old org.grails.plugins:rxjava does not work either due to javax usage.

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

7.0.4

darkattractions avatar Dec 12 '25 09:12 darkattractions

The Grails 7 documentation mentioning the grails-rxjava plugin.

The rxjava plugin is not part of Grails-Core it is a community plugin and has not been updated for Grails 7.

Todo: Update plugin to Grails 7 or update the documentation to reflect that the plugin only works for Grails versions 3-6.

Grails has a discussion thread on request for upgrading plugins https://github.com/apache/grails-core/discussions/15044

dauer avatar Dec 12 '25 19:12 dauer

The documentation in the Guide is related to the grails-async plugin & the option to choose rxjava, gpars, etc. There is also a separate rxjava plugin. @darkattractions the documentation needs updated to point to the new coordinates. Take a look at https://github.com/apache/grails-core/blob/7.0.x/RENAME.md for how to map to the new names.

jdaugherty avatar Dec 12 '25 19:12 jdaugherty

Well that is at bit confusing ...

Is the (8 year old) community plugin still relevant then? Should we maybe mark it archived...

dauer avatar Dec 12 '25 19:12 dauer

Well that is at bit confusing ...

Is the (8 year old) community plugin still relevant then? Should we maybe mark it archived...

I haven't compared async to the older plugin but I assume the older one should be archived. @matrei what do you think?

jdaugherty avatar Dec 13 '25 01:12 jdaugherty

I've opened https://github.com/apache/grails-core/pull/15288 to change these coordinates to the correct location. Thank you @darkattractions

jdaugherty avatar Dec 13 '25 15:12 jdaugherty

I haven't compared async to the older plugin but I assume the older one should be archived. @matrei what do you think?

@jdaugherty I don't think they overlap totally. It seems grails-async is more general purpose for asynchronous "move off the request thread" tasks and the grails-rxjava plugin seems to be focused on controller responses and complementing RxGorm + functionality for SSE (Server Side Events).

matrei avatar Dec 13 '25 22:12 matrei