Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Kafka - iOS consumer

Has anyone implemented iOS devices as a consumer of kafka? Is there any client libraries in Obj-C or Swift that could subscribe to Kafka topics?

like image 773
ed1t Avatar asked Apr 27 '26 07:04

ed1t


1 Answers

I don't think consuming Kafka streams directly on a mobile device is the right way to go, unless you are doing some research kind of work. The ideal solution would be to have a REST API (a small web service) that can talk directly to Kafka. You can then poll API endpoints to retrieve messages from Kafka.

For instance, you can write a web service using Python Bottle framework integrated with kafka-python as a solution.

like image 113
Rafay Avatar answered Apr 28 '26 20:04

Rafay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!