Configuring Embedded Infinispan

When the legacy store is used, Keycloak uses embedded Infinispan for storing some data.

This is different from the new store setup where Keycloak uses only external Infinispan.

Enabling Embedded Infinispan

Embedded Infinispan is started within each Keycloak node when Legacy store is used.

Verifying the setup

The automated script verifies that Keycloak starts up successfully.

Metrics and dashboards for the Embedded Infinispan

Metrics from the Embedded Infinispan instance are exposed together with Keycloak metrics and are available in Prometheus.

The metrics are shown in the Dashboard "`Keycloak Infinispan board `".

Configuring Embedded Infinispan

Configuration for Embedded Infinispan can be passed to Keycloak from Keycloak Benchmark project using KC_CUSTOM_INFINISPAN_CONFIG option.