0
b2plane
357d

Turns out... Angular doesnt have a fucking library or a way to communicate directly with kafka that's built on a separate backend!

I would have to either call a REST route to the backend which then forwards transmitting the "real time" request to kafka broker. Or transmit a socketio real time event to trigger kafka.

What kind of BULLSHIT is this? Why the fuck would i use kafka at all then in this case? I could replace it and cut the shit with socketio! Ridiculous!

Comments
  • 2
    Kafka makes sense if you're going to be using the data with multiple different apps, I think

    A lot of things are overengineering for small simple projects
  • 1
    Wait, why do you want to use it to go frontend to backend? That's nuts.

    Kafka shines in backend to backend processes that need to send lots of bits of data in a scalable, distributed and fault tolerant way. You could technically use it for frontend to backend, but it's completely ill-suited.
  • 0
  • 1
    @b2plane I put a server side API in front of that.

    I don't trust client auth, and I never will.
  • 0
    kafka on the front-end? what!
Add Comment