Skip to content

【BUG】【Producer】An additional partition is unintentionally created to partitioned topic. #9

@hozumi

Description

@hozumi

Hi, I found that a new partition is created when I send a message to partitioned-topic.

For example, when a partitioned topic have only one partition as following:

"persistent://mytenant/myns/mytopic-partition-0"

Sending message causes a new partition creation.

"persistent://mytenant/myns/mytopic-partition-0"
"persistent://mytenant/myns/mytopic-partition-1"

I think that the range wrongly include upper limit in the following line.

(0..pmr.partitions).map do |i|

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions