Skip to content

[spring] Add global default service configuration#605

Merged
slinkydeveloper merged 1 commit intomainfrom
issues/604
May 5, 2026
Merged

[spring] Add global default service configuration#605
slinkydeveloper merged 1 commit intomainfrom
issues/604

Conversation

@slinkydeveloper
Copy link
Copy Markdown
Contributor

@slinkydeveloper slinkydeveloper commented May 5, 2026

Fixes #604

What

Top-level restate.* properties now act as defaults applied to all services. Per-service restate.components.<Name>.* overrides them.

Example

# Applied to every service
restate.inactivity-timeout=10m
restate.retry-policy.max-attempts=5
restate.journal-retention=2d

# Overrides the default only for MyService
restate.components.MyService.inactivity-timeout=30s
restate.components.MyService.journal-retention=7d

All properties available on restate.components.<Name>.* (timeouts, retention durations, retry policy, ingress-private, lazy-state, metadata, documentation) are supported as top-level defaults — except executor, which was already a global default at restate.executor.

Top-level restate.* properties (inactivity-timeout, retry-policy, etc.) now
act as defaults for all services. Per-service restate.components.* overrides them.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@slinkydeveloper slinkydeveloper changed the title Issues/604 [spring] Add global default service configuration May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Test Results

  8 files  ±0    8 suites  ±0   4m 11s ⏱️ +31s
 53 tests ±0   53 ✅ ±0  0 💤 ±0  0 ❌ ±0 
233 runs  ±0  233 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 25c84e6. ± Comparison against base commit 1c56be5.

@slinkydeveloper slinkydeveloper merged commit e4dab0d into main May 5, 2026
8 checks passed
@slinkydeveloper slinkydeveloper deleted the issues/604 branch May 5, 2026 16:22
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[spring] default configuration for all services.

1 participant