softwarefactory-project / keycloak-event-listener-mqtt

A Keycloak SPI that publishes events to a MQTT broker.
Apache License 2.0
38 stars 9 forks source link

Publisher ID cause session conflict when Keycloak has more one node. #11

Closed ronaldocherokee closed 3 months ago

ronaldocherokee commented 9 months ago

When Keycloak has more one node, MQTT server (Mosquitto) has constant login/logout causing connection failures.

Publisher_ID has static in MQTTEventListenerProviderFactory.java.

I sugest an enviromment variable.

mhuin commented 9 months ago

Thanks for reporting the issue, do you want to provide a patch for this?

NicoV1994 commented 5 months ago

Is there an update/fix for this?

mhuin commented 3 months ago

Publisher ID is now a parameter.