springBootStarterWebRateLimitAutoConfiguration top-level property

  1. @AutoConfigurationModule(after: ['springBootStarterDataAutoConfiguration', 'springBootStarterSupabaseAutoConfiguration'], platform: ModulePlatform.native)
BeanModule springBootStarterWebRateLimitAutoConfiguration
final

The rate limiter (spring.web.rate-limit.*, @RateLimiter): the beans of rateLimitAutoConfiguration, registered when it is on.

It comes after the starters that bring a store of their own (the database function of the Supabase starter, the SQL store of the data starter), so that its stores (the first isolate's for a pool of isolates, else memory) are the default only when the application has none of those.

Implementation

@AutoConfigurationModule(
  after: [
    'springBootStarterDataAutoConfiguration',
    'springBootStarterSupabaseAutoConfiguration',
  ],
  platform: ModulePlatform.native,
)
final BeanModule springBootStarterWebRateLimitAutoConfiguration = BeanModule(
  'springBootStarterWebRateLimitAutoConfiguration',
  [...rateLimitAutoConfiguration],
);