Skip to content

Publish Message will send twice #9956

@fuuhoo

Description

@fuuhoo

In what version(s) of Spring Integration are you seeing this issue?

spring-integration-mqtt v5.5.20

MQTT Client: org.eclipse.paho.mqttv5.client v1.2.5

Describe the bug

emqx5.6.1当作broker,并且限制频率为100/s,使用spring boot2.7,在循环发送的时候,使用mqttv5协议,会导致发送到1000条左右的时候publish meaasge发送两次的情况,导致broker返回145代码

When using emqx5.6.1 as broker and limiting the frequency to 100/s, using spring boot2.7, and using the mqttv5 protocol in a loop, the publish message will be sent twice when about 1000 messages are sent, causing the broker to return code 145.

To Reproduce

细节查看这个问题:

See this for details:

emqx/emqx#15055 (comment)

Expected behavior

A clear and concise description of what you expected to happen.

Sample

A link to a GitHub repository with a minimal, reproducible sample.

Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidNot reproducable or not relevant to the current state of the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions