Giter VIP home page Giter VIP logo

Comments (3)

unixliang avatar unixliang commented on September 1, 2024

consumer是怎么和队列对应的,还是各个consumer抢占拉取数据没有对应关系

在不部署scheduler的情况下,(sub_id, store_id, queue_id)三元组到consumer的对应关系是固定的,前者只对应一个consumer。

为什么有些记录会被2个consumer消费,比如mytest consume echo "WpMK6SnRtp" succeeded! sub_id 1 store_id 1 queue_id 0 item_uin 12 ,,在consumer0和consumer2都有输出

这个问题像是三个consumer_server.X.conf的shm_key_base相同的情况,是之前sample配置有误引起的,建议按 c899588 修改配置,或者 pull 最新代码和配置。如果仍有问题,麻烦打包日志到 [email protected]

from phxqueue.

tinyshu avatar tinyshu commented on September 1, 2024

@unixliang 不是 我的配置已经是pull的最新的

from phxqueue.

unixliang avatar unixliang commented on September 1, 2024

shm_key_base 修改后要重启consumer哦。
建议打包日志到[email protected],我们看看。

from phxqueue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.