2014-08-27 10:41:40 +00:00
|
|
|
Example Event Store that stores events in memory
|
|
|
|
================================================
|
|
|
|
|
2015-01-28 09:48:26 +00:00
|
|
|
To deploy copy target/event-store-mem-example.jar to standalone/configuration/providers.
|
|
|
|
|
|
|
|
Then edit standalone/configuration/keycloak-server.json, change:
|
2014-08-27 10:41:40 +00:00
|
|
|
|
2014-08-29 12:55:45 +00:00
|
|
|
"eventsStore": {
|
2014-08-27 10:41:40 +00:00
|
|
|
"provider": "jpa"
|
|
|
|
}
|
|
|
|
|
|
|
|
to:
|
|
|
|
|
2014-08-29 12:55:45 +00:00
|
|
|
"eventsStore": {
|
2014-08-27 10:41:40 +00:00
|
|
|
"provider": "in-mem"
|
|
|
|
}
|
|
|
|
|
2015-01-28 09:48:26 +00:00
|
|
|
Then start (or restart)the server. Once started open the admin console, select your realm, then click on Events,
|
|
|
|
followed by config. Set the toggle for Enabled to ON. After this try to logout and login again then open the Events tab
|
|
|
|
again in the admin console to view events from the in-mem provider.
|