Is Kafka suitable for running a public API?

旧城冷巷雨未停 提交于 2019-12-11 06:57:30

问题


I have an event stream that I want to publish. It's partitioned into topics, continually updates, will need to scale horizontally (and not having a SPOF is nice), and may require replaying old events in certain circumstances. All the features that seem to match Kafka's capabilities.

I want to publish this to the world through a public API that anyone can connect to and get events. Is Kafka a suitable technology for exposing as a public API?

I've read the Documentation page, but not gone any deeper yet. ACLs seem to be sensible.

My concerns

  1. Consumers will be anywhere in the world. I can't see that being a problem seeing Kafka's architecture. The rate of messages probably won't be more than 10 per second.

  2. Is integration with zookeeper an issue?

  3. Are there any arguments against letting subscriber clients connect that I don't control?

来源:https://stackoverflow.com/questions/37600237/is-kafka-suitable-for-running-a-public-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!