Coder Social home page Coder Social logo

topic状态问题 about metamorphosis HOT 7 CLOSED

killme2008 avatar killme2008 commented on July 4, 2024
topic状态问题

from metamorphosis.

Comments (7)

killme2008 avatar killme2008 commented on July 4, 2024

hi,对这个功能我有点疑问,是否细粒度到topic级别,到broker级别应该就足够了吧。控制broker是否可发送,可订阅。

from metamorphosis.

hanzhihua avatar hanzhihua commented on July 4, 2024

hi
dennis :
存在这样的场景,转移topic,比如一个量大的topic需要重差机器上面上面转移到好机器上面,但不能丢消息,只能停在发送,直到消息消费完成,然后在从这个差机器中删除topic相关信息

在 2012-05-13 20:38:19,"dennis zhuang" [email protected] 写道:

hi,对这个功能我有点疑问,是否细粒度到topic级别,到broker级别应该就足够了吧。控制broker是否可发送,可订阅。


Reply to this email directly or view it on GitHub:
#9 (comment)

from metamorphosis.

killme2008 avatar killme2008 commented on July 4, 2024

hi

这样的场景目前就可以实现了,无需停止发送,只要暂停该broker,将该topic的数据全部拷贝到新机器上即可。因为你的服务是集群,暂停一台broker做拷贝是毫无关系的。当新机器起来的时候,消费者会去新机器继续消费。

from metamorphosis.

hanzhihua avatar hanzhihua commented on July 4, 2024

:),我们broker没有用master slave方式,而且不能停止broker . 其实我们是b2b的,我们这边napoli是一个推拉结合的,不分开的,拉的服务器就是用你的优秀的metaq

在 2012-05-13 21:11:32,"dennis zhuang" [email protected] 写道:

hi

这样的场景目前就可以实现了,无需停止发送,只要暂停该broker,将该topic的数据全部拷贝到新机器上即可。因为你的服务是集群,暂停一台broker做拷贝是毫无关系的。当新机器起来的时候,消费者会去新机器继续消费。


Reply to this email directly or view it on GitHub:
#9 (comment)

from metamorphosis.

wq163 avatar wq163 commented on July 4, 2024

不是有个关闭分区功能吗,把这个topic的全部分区关闭掉是否满足需求?

from metamorphosis.

killme2008 avatar killme2008 commented on July 4, 2024

已提交一个功能实现,添加参数acceptPublish和acceptSubscribe来控制broker和topic是否允许接收消息或者接收订阅。
这两个参数同时是system参数,也可以被topic的配置覆盖。

from metamorphosis.

killme2008 avatar killme2008 commented on July 4, 2024

1.4.3 released.

from metamorphosis.

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.