Interface QuarkusDistributedCacheInvalidationsConfig


@PolarisImmutable @ConfigMapping(prefix="polaris.persistence.distributed-cache-invalidations") public interface QuarkusDistributedCacheInvalidationsConfig
  • Field Details

  • Method Details

    • cacheInvalidationServiceNames

      @WithName("service-names") Optional<List<String>> cacheInvalidationServiceNames()
      Host names or IP addresses or kubernetes headless-service name of all Polaris server instances accessing the same repository.

      This value is automatically configured via the Polaris Helm chart, additional configuration is not required.

      If you have your own Helm chart or custom deployment, make sure to configure the IPs of all Polaris instances here.

      Names that start with an equal sign are not resolved but used "as is".

    • cacheInvalidationValidTokens

      @WithName("valid-tokens") Optional<List<String>> cacheInvalidationValidTokens()
      List of cache-invalidation tokens to authenticate incoming cache-invalidation messages.

      The first token is used in outgoing cache-invalidation messages.

    • cacheInvalidationUri

      @WithName("uri") @WithDefault("/polaris-management/cache-coherency") String cacheInvalidationUri()
      URI of the cache-invalidation endpoint, only available on the Quarkus management port, defaults to 9000.
    • cacheInvalidationServiceNameLookupInterval

      @WithName("service-name-lookup-interval") @WithDefault("PT10S") Duration cacheInvalidationServiceNameLookupInterval()
      Interval of service-name lookups to resolve the service names into IP addresses.
    • cacheInvalidationBatchSize

      @WithName("batch-size") @WithDefault("20") int cacheInvalidationBatchSize()
      Maximum number of cache-invalidation messages to send in a single request to peer nodes.
    • cacheInvalidationRequestTimeout

      @WithName("request-timeout") Optional<Duration> cacheInvalidationRequestTimeout()
      Request timeout for sent cache-invalidation messages. Timeouts trigger a warning or error message.
    • dnsQueryTimeout

      @WithName("dns.query-timeout") @WithDefault("PT5S") Duration dnsQueryTimeout()
      Timeout for DNS queries to resolve peer nodes.