Describe the bug
When serverRef is specified in mqtt-kafka, this allows the mqtt-kafka binding to make use of kafka topic sharding and redirect clients to their zilla instance affinity, but mqtt v5 introduced the redirect capability so mqtt v3.1.1 clients cannot follow the redirect.
To Reproduce
Steps to reproduce the behavior:
- Use
mqtt.kafka.broker in zilla-examples with multiple Zilla instances
- Ensure
mqtt-sessions topic has multiple partitions
- Update
zilla.yaml to specify serverRef in mqtt-kafka binding
- Connect with mqtt v3.1.1 client
- See error when not on affinity Zilla instance for client id
Expected behavior
When both mqtt v3.1.1 and mqtt v5 are supported, kafka topic sharding should be disabled.
Screenshots
None
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
None
Describe the bug
When
serverRefis specified inmqtt-kafka, this allows themqtt-kafkabinding to make use ofkafkatopic sharding and redirect clients to their zilla instance affinity, butmqtt v5introduced the redirect capability somqtt v3.1.1clients cannot follow the redirect.To Reproduce
Steps to reproduce the behavior:
mqtt.kafka.brokerin zilla-examples with multiple Zilla instancesmqtt-sessionstopic has multiple partitionszilla.yamlto specifyserverRefinmqtt-kafkabindingExpected behavior
When both
mqtt v3.1.1andmqtt v5are supported,kafkatopic sharding should be disabled.Screenshots
None
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
None