openrewrite / openrewrite/rewrite-spring
2.4-2.5: Cassandra Throttling Properties
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 403
- Forks
- 149
- Avg merge
- 2h 33m
- Merged PRs (30d)
- 10
Description
Spring Boot no longer provides default values for spring.data.cassandra.request.throttler properties. If you rely on max-queue-size, max-concurrent-requests, max-requests-per-second or drain-interval you should set values that make sense for your application.
Condition
- dependency to
org.springframework.data:spring-data-cassandraexists
Description
Spring Boot no longer provides default values for
spring.data.cassandra.request.throttlerproperties. If you rely onmax-queue-size,max-concurrent-requests,max-requests-per-secondordrain-intervalyou should set values that make sense for your application.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Spring Boot 2.5 release notes and the listed spring.data.cassandra.request.throttler properties. Check how this repository represents Spring Boot migration recipes and how the dependency condition for spring-data-cassandra is expressed. Done means the relevant migration is represented and its behavior is covered by the repository's existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, java, spring-boot
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100