Skip to content

Align default values for Cassandra's throttling properties #25149

@snicoll

Description

@snicoll

A number of properties in spring.data.cassandra.request.throttler have a default value in Spring Boot but their counterpart in Cassandra do not, see:

  • TypedDriverOption.REQUEST_THROTTLER_MAX_QUEUE_SIZE
  • TypedDriverOption.REQUEST_THROTTLER_MAX_CONCURRENT_REQUESTS)
  • TypedDriverOption.REQUEST_THROTTLER_MAX_REQUESTS_PER_SECOND)
  • TypedDriverOption.REQUEST_THROTTLER_DRAIN_INTERVAL)

We should stop configuring those unless the user has provided a value. When opting-in for a certain throttling type, some properties may become mandatory and lead to a failure if not set explicitly. We may need to add a failure analyzer to cover that case.

Metadata

Metadata

Assignees

Labels

status: noteworthyA noteworthy issue to call out in the release notestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions