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

Pagination und Throttling von API Aufrufen vereinfachen #752

Open
Ollitod opened this issue Jun 7, 2024 · 1 comment
Open

Pagination und Throttling von API Aufrufen vereinfachen #752

Ollitod opened this issue Jun 7, 2024 · 1 comment

Comments

@Ollitod
Copy link
Collaborator

Ollitod commented Jun 7, 2024

IST:
Die REST-API von ZEP ist paginated und ein Rate-Limit. Aus diesem Grund wurde eine eigene Klasse entwickelt, die sich um beide dieser Aspekte kümmert.

SOLL:
Sowohl für Paginierung als auch für Request-Throttling gibt es in Quarkus integrierte Tools.
Request-Throttling: https://quarkus.io/guides/smallrye-fault-tolerance
Paginierung: https://quarkus.io/blog/mutiny-pagination/

Um Mutiny zu verwenden, muss jedoch Quarkus REST (https://quarkus.io/guides/rest-client) verwendet werden, da ein reaktiver Kontext vorausgesetzt ist. Bei Verwendug des Legacy REST Client (https://quarkus.io/guides/resteasy-client), ist das nicht der Fall.

@Ollitod
Copy link
Collaborator Author

Ollitod commented Jan 28, 2025

Schätzung: 2PT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant