Skip to content

juliuskrah/keycloak-kafka-event-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak Event Listener for Kafka

This demo project listens for Keycloak Events and writes them to Apache Kafka.

Prerequisite

  • Docker (latest)
  • Compose (latest)

Quick Start

You can run the project with the following command

> docker-compose up -d

Check that all containers are up with:

> docker-compose ps

Tail the Keycloak logs and watch as events are printed to the console

> docker-compose logs -f keycloak

Now open the keycloak UI at http://localhost:8080

login with:

username: juliuskrah
password: password

Go to the Events left menu item, and navigate to Config. Under Event Listeners, add keycloak-demo and save.

Logout and log back in. Watch the console for changes.

Building the Containers

To build the containers:

> cd keycloak-provider
> ./gradlew clean assemble
> cd ..
> docker-compose up -d --build

About

Event listener provider for Keycloak that writes to Kafka

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published