Receiving Kafka event on web browser real time

后端 未结 1 1059
北荒
北荒 2021-02-19 01:18

We are using Kafka cluster for sending/receiving messages at real time. We are able to publish messages to Kafka topics successfully. Now we want to receive these messages real

相关标签:
1条回答
  • 2021-02-19 02:05

    There are Javascript clients for Kafka but given the description of your use case I would recommend you either use a REST or WebSocket proxy between your browser side javascript and Kafka. That will ensure the message can traverse any intermediate firewalls.

    0 讨论(0)
提交回复
热议问题