{"repo":"SnuK87/keycloak-kafka","free":true,"listed":false,"github":"https://github.com/SnuK87/keycloak-kafka","clone":"git clone https://github.com/SnuK87/keycloak-kafka.git","description":"Keycloak module to produce events to kafka","language":"Java","stars":144,"topics":["java","keycloak","kafka","eventlistener"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Keycloak Kafka Module Simple module for Keycloak to produce keycloak events to Kafka. - Keycloak Kafka Module Build Installation Module Configuration + Kafka client configuration + Kafka client using secure connection Module Deployment Keycloak Configuration + Enable Events in keycloak Docker Container Sample Client Tested with Kafka version: 2.12-2.1.x , 2.12-2.4.x , 2.12-2.5.x , 2.13-2.8 , 2.13-3.3.x Keycloak version: 19.0.x, 21.0.x Java version: 17 Check out this older version to run the module on a Wildfly server Build You can simply use Maven to build the jar file. Thanks to the assembly plugin the build process will create a fat jar that includes all dependencies and makes the deployment quite easy. Just use the following command to build the jar file. Installation First you need to build or download the keycloak-kafka module. To install the module to your keycloak server you have to configure the module and deploy it. If you deploy the module without configuration, your keycloak server will fail to start throwing a NullPointerException . If you want to install the module manually as described in the initial version you can follow this guide. Module Configuration The following properties can be set via environment variables (e.g. ${KAFKA TOPIC} ) or as parameters when starting keycloak (e.g. --spi-events-listener-kafka-topic-events ). - topicEvents (env KAFKA TOPIC ): The name of the kafka topic to where the events will be produced to. - clientId (env KAFKA CLIENT ID ):","default_branch":null,"files":null,"tree":[],"storefront":"/r/SnuK87","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SnuK87/keycloak-kafka/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}