简体   繁体   中英

sarama.ConsumePartition instances is sharing default group or using different group?

当我在不同进程中对相同主题和相同分区使用 sarama.ConsumePartition 时,行为是共享默认组还是使用唯一组?

When you call ConsumePartition you HAVE to give the offset to start consuming (along with topic and partition). And it will start to consume from that given offset.

There will be no sharing of messages/partitions like group consumers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM