Do you have a link to the project?
On Thu, Dec 11, 2014 at 9:53 AM, DeJiang Zhu <douji...@gmail.com> wrote:
I'd like to announce the first release of the simple kafka driver.Only producer has be implemented now, any feedback are welcome :)
----
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
| local function _metadata_cache(self, topic) | |
| if not topic then | |
| return self.brokers, self.topic_partitions | |
| end | |
| local partitions = self.topic_partitions[topic] | |
| if partitions and partitions.num and partitions.num > 0 then | |
| return self.brokers, partitions | |
| end | |
| return nil, "not foundd topic" | |
| end | |
I'd like to announce the first release of the simple kafka driver.Only producer has be implemented now, any feedback are welcome :)
--
用上了,很不错。
有个 typo
Hello,2016-03-17 19:29 GMT+08:00 wd <w...@wdicc.com>:用上了,很不错。目前还有一个需要完善的点,发往 kafka 的速度不够快:因为同一个 partition 上的数据,需要保持有序,所以,同一 partition 上的数据,不能并发发送另外,为了实现上的简单,所以 master 版本没有并发发送所以,如果你有万兆网卡的话,应该是跑不满的了,在我的测试里,500 Mbit/s 是没问题的 (24 worker)