Publish Keycloak Events to Kafka With a Custom SPI

In this post, you will build a custom extension known as Service Provider Interfaces (SPI) for Keycloak. The purpose of this SPI is to listen to the Keycloak events and publish these events to an Apache Kafka cluster as a topic per event type. These events will be consumed by a Quarkus consumer client application which will store and expose the API end-points that can be used for analysis like login counts when client x was created etc. For the demo, I am limiting the event types to only two events: Client and Client login. but all event types can be analyzed. 

Event types:

Contributing an IoT LoRaWAN Raspberry Pi RAK831 Gateway to the Things Network

LoRa and LoRaWAN are getting the de-facto wireless IoT network in my area. It's no surprise that traditional telecom providers like Swisscom try to monetize the IoT sector. Luckily, there is an open and free alternative: https://www.thethingsnetwork.org/. Volunteers, enthusiasts, and members in the different TTN communities build gateways and offer free LoRaWAN network access. I wanted to contribute to that grassroots movement with building my gateway, providing LoRaWAN access to my neighborhood.

LoRaWAN TheThingsNetwork Gateway