Comments (4)
"增加服务器新端口" 是什么意思?
启用新的groupid会从头收取消息,如果不想从头收取,可手动/程序修改zookeeper中的消费消息的commit。也可以消费一遍即可停止。
另外,历史较大的日志信息,可以考虑自动回滚机制,防止文件过大。
相同的groupid会从上次消费消息的位置开始。
from jafka.
Hi,早上好
增加新服务器端口是指增加新的server,例如:我已经启动9092,9093端口,使用这个两个端口一段时间,我增加了9094,
这个时候consumer又会收到之前已经接收过的消息
在 2015年12月28日,下午4:03,Ady Liu [email protected] 写道:
"增加服务器新端口" 是什么意思?
启用新的groupid会从头收取消息,如果不想从头收取,可手动/程序修改zookeeper中的消费消息的commit。也可以消费一遍即可停止。
另外,历史较大的日志信息,可以考虑自动回滚机制,防止文件过大。相同的groupid会从上次消费消息的位置开始。
—
Reply to this email directly or view it on GitHub #45 (comment).
from jafka.
大神,你好!
再请教一下,我使用kafka不会出现这样的问题,但是出现了另外一个问题,启动多个Consumer时,并没有进行负载均衡,一直只有一个Consumer收到消息,另外的Consumer一直都没有收到过,这块jafka可以做得很好
在 2015年12月29日,上午11:35,700‘s friend [email protected] 写道:
Hi,早上好
增加新服务器端口是指增加新的server,例如:我已经启动9092,9093端口,使用这个两个端口一段时间,我增加了9094,
这个时候consumer又会收到之前已经接收过的消息在 2015年12月28日,下午4:03,Ady Liu <[email protected] mailto:[email protected]> 写道:
"增加服务器新端口" 是什么意思?
启用新的groupid会从头收取消息,如果不想从头收取,可手动/程序修改zookeeper中的消费消息的commit。也可以消费一遍即可停止。
另外,历史较大的日志信息,可以考虑自动回滚机制,防止文件过大。相同的groupid会从上次消费消息的位置开始。
—
Reply to this email directly or view it on GitHub #45 (comment).
from jafka.
brokers一共有多少片消息,客户端consumer的数量和其匹配即可。
比如一共有6个partition,三个consumer,每个consumer有2个线程,这样每个consumer就可以消费两个patition。
加入第一个consumer就有5个线程,那么第一个consumer消费5个partition,第二个consumer消费1个partition,最后一个consumer无消息可消费。
from jafka.
Related Issues (20)
- 使用zk方式,如果生产端不断发送消息,相同组的消费端全停服,然后在起来,为什么收不到消息增加的消息了,还是有其他方式 HOT 8
- jafka的zk中broker信息存储的hostname和port,为什么不是ip:port HOT 2
- jafka实现了主备高可用机制了吗?
- 一次 Fetch 只能获取一个 LogSegment 的内容吗? HOT 1
- 是否支持分区备份及选 leader HOT 2
- Jafka#start(Properties, Properties, Properties) 方法判断有误 HOT 1
- 高吞吐量的实现机制是什么? HOT 2
- 关于 offsets 问题 HOT 1
- consumer的问题 HOT 13
- producer到broker消息质量级别仅仅支持‘At most once’这种级别吗
- EmbeddedConsumer 构造函数中 blackListTopics 取值错误 HOT 2
- Processor#run() 方法的改进的一个建议
- jafka 消息的存储地址 问题 HOT 1
- 不同组的Consumer订阅相同的一个或者多个topic问题 HOT 4
- 还在维护吗?目前版本兼容于kafka的哪个版本? HOT 1
- 升级到Java 8+
- Is there any aarch64 config file under bin/ ? (jafka aarch64 配置文件支持)
- 支持集群模式吗,支持Topic副本吗
- 请问支持windows64位系统吗?如果不支持,该怎么做? HOT 1
- 测试用例的运行 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jafka.