https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
e

enough-dog-88171

01/12/2022, 10:24 AM
Hi there ! Is there any plan to have the ability to integrate messaging when handling hooks in Kratos ? I'm thinking of MQTT, Kafka or NATS integration for example
h

high-optician-2097

01/12/2022, 10:38 AM
Yes, you can use a web hook to send the event to your API and then you can forward it to whatever you need
👍 2
e

enough-dog-88171

01/12/2022, 10:50 AM
yes I've seen the web hooks, but I think it would be really interesting to be able to send infos as "events" directly from Kratos into a cluster of microservices
j

jolly-magazine-7609

01/12/2022, 11:02 AM
make a small shim that listens to the web hooks and publishes events
👍 1
h

high-optician-2097

01/12/2022, 11:12 AM
Yeah, we don’t want to support NATS, MQTT, Kafka, … all of these protocols in Ory Kratos. The idea is that you write a small system that receives the webhooks and then publishes them in a way you seem fit. That’s much more flexible and way less work (for us to maintain)
👍 2
4 Views