You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate Kafka-group session ownership in mqtt-kafka binding #1797
MqttKafkaSessionFactory coordinates MQTT session ownership using a custom Kafka consumer-group protocol ("highlander", single-active-member) defined in KafkaClientGroupFactory. This mechanism predates the Store SPI and will be replaced by StoreHandler-based ownership coordination in a follow-up release.
This issue covers the deprecation announcement: schema preparation and a runtime warning, with no behavior change.
Proposal
Add an optional store field to the mqtt-kafka binding schema. The field is parsed and validated but unused by code in this release.
Log a deprecation warning at runtime when store is not configured on a mqtt-kafka binding.
Code path continues to use the existing highlander-group ownership coordination. No functional change in this release.
Suggested warning text
WARN [mqtt-kafka0] Session ownership coordination via Kafka consumer group
is deprecated. The 'store' option will be required in an upcoming release.
To prepare, configure a store reference on this binding:
stores:
memory0:
type: memory
bindings:
mqtt-kafka0:
options:
store: memory0
In scope
Schema change: add optional store field on mqtt-kafka binding.
Runtime deprecation warning when store is absent.
Release notes entry announcing the upcoming requirement.
Acceptance criteria
Configurations with store declared on mqtt-kafka are accepted (parsed and ignored).
Configurations without store are accepted and log the deprecation warning exactly once per binding instance.
Existing MqttKafkaSessionFactory behavior is unchanged.
Activity
feat(binding-mqtt-kafka): deprecate Kafka-group session ownership (#1797
feat(binding-mqtt-kafka): make store required on mqtt-kafka binding (#…
[2.0] Refactor MQTT session management to use store-based persistence (…
fix(binding-mqtt-kafka): remove deprecated serverRef option
fix(binding-kafka): remove deprecated routes[].when[].groupId condition
fix: remove orphaned deprecated config ahead of 2.0.0 (#2071)