Skip to content
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

[ENHANCEMENT] Better reactify Identity methods #2228

Merged
merged 3 commits into from
May 7, 2024

Conversation

chibenwa
Copy link
Contributor

@chibenwa chibenwa commented May 3, 2024

The underlying RRT exposes iterables which are inherantly blocking.

recipientRewriteTable.listSources(...) actually is just a mere wrapper around a cassandra table and would be easy to reactify.

Then the overall algorithm could be reactified CF https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Flux.html#expand-java.util.function.Function-

This is called upon sending email (likely to be blocking anyway) but also listing identities which is not an uncommon request.

Screenshot from 2024-05-02 10-49-14

@Arsnael
Copy link
Contributor

Arsnael commented May 6, 2024

07:14:30,800 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:check (check-style) on project james-server-data-api: You have 2 Checkstyle violations. -> [Help 1]

@chibenwa chibenwa force-pushed the identity-react branch 2 times, most recently from dbd1983 to 2f32c09 Compare May 6, 2024 08:31
@Arsnael Arsnael merged commit 244c8e9 into apache:master May 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants