Is this a valid usecase for Kafka streams

I would want to know if a user is online or offline and getting the count for online and offline users by some attribute (male/female/etc). The events are logging in and out. Is Kafka streams applicable for this use case and if yes, are there sample codes??

Hi @Havok,

Welcome to the forum!

Yeah, this sounds like a use case for Kafka Streams. Have you already had a look at GitHub - confluentinc/kafka-streams-examples: Demo applications and code examples for Apache Kafka's Streams API.?

Best,
Bruno

1 Like