You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2023/03/03 13:52:00 UTC

[jira] [Commented] (ARTEMIS-4196) MQTT cluster message distribution is broken with OFF and OFF_WITH_REDISTRIBUTION loadbalancing types

    [ https://issues.apache.org/jira/browse/ARTEMIS-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696158#comment-17696158 ] 

Gary Tully commented on ARTEMIS-4196:
-------------------------------------

This test looks problematic, it publishes and subscribes to any cast addresses. And it looks like setting the correct routing type breaks it in some way. It seems an odd use case, but in some way it could be valid, as in the routing is totally an artemis address smodel thing. mqtt just has an address string.

Will peek some more: https://github.com/apache/activemq-artemis/blob/main/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/MqttClusterRemoteSubscribeTest.java#L1321

> MQTT cluster message distribution is broken with OFF and OFF_WITH_REDISTRIBUTION loadbalancing types
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4196
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4196
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: clustering, MQTT
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Major
>
> The issue relates to the lack of a routingType on the messages from the mqtt publish in the mqtt protocol head.
> With OFF or OFF_WITH_REDISTRIBUTION we assert that the routing type is multicast to allow clustering, but without a routing type on the message that fails and we don't forward to any remote bindings in error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)