adyliu / jafka

a fast and simple distributed publish-subscribe messaging system (mq)

Home Page:https://github.com/adyliu/jafka/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

现在看到只有topic方式的信息,不知是否打算支持queue方式

hi-wayne opened this issue · comments

现在看到只有topic方式的信息,不知是否打算支持queue方式

现在是支持的呀,只要你的groupId是一样的就是了

消息是支持分布式以及分片的,当多个groupid相同的消费者同时消费一个topic的时候,这小消费者之间就是竞争的关系。每一个消费者消费的分片消息都是不重叠的,也就是queue的方式。每一条消息只能被一个消费者消费。