+ 3

Help with realtime data

Is there anything better than websocket for streaming real-time data from Kafka to clients?

18th Jan 2022, 9:58 PM
Moree
Moree - avatar
2 Answers
0
Server Sent Event is lightweight and unidirectional. You can also do polling manually.
19th Jan 2022, 9:27 PM
Mohamad Kamar
Mohamad Kamar - avatar
0
Yeah, SSE is probably the best solution available for this use case but polling can be very slow and waste of resources.. thank you
21st Jan 2022, 11:13 PM
Moree
Moree - avatar