nexus.* prefix.
Field reference
The starter accepts the standard Spring Boot duration suffixes -
s, ms, m, h. ttl: 60s and ttl: PT60S are equivalent.
Stream observer bean
(v0.2.0) The auto-configuration also picks up anyNexusStreamObserver bean automatically - see Stream observer for the bean wiring pattern.
WIFConfig bean
(v0.2.0) For custom token sources or test fixtures, define a WIFConfig bean - the auto-configuration uses it in preference to the nexus.wif.* properties. See Workload identity.
API key types
Where to keep the API key
Anywhere Spring Boot’sIConfiguration already reads - environment variables, AWS Secrets Manager, HashiCorp Vault, your existing pipeline:
Choosing the TTL
The TTL is a tradeoff between staleness window and redundant network traffic. With SSE enabled (default), changes propagate in milliseconds regardless of the TTL - the TTL only matters as a safety net when the stream falls back.Disabling SSE
Customizing via NexusConfig.Builder
If you need to override more than the four properties (for example, inject a custom HttpClient for a corporate proxy), register a NexusClient bean of your own - the auto-configuration will back off:
@ConditionalOnMissingBean on the auto-configuration ensures the starter doesn’t try to create its own bean when yours is present.