Skip to content

Support idempotent mqtt qos 2 publish to kafka #677

Closed

Description

@jfallows

Describe the desired outcome from the user's perspective
As an MQTT developer, I want to be able to publish QoS 2 messages to Kafka.

Acceptance criteria

  • same zilla instance mqtt qos2 publish is idempotent before publish complete
  • different zilla instance mqtt qos2 publish is idempotent before publish complete

Additional context
MQTT v3.1.1 QoS 2 Exactly Once Delivery
MQTT v5 QoS 2 Exactly Once Delivery

Tasks

  • Support producerId, epoch and message sequence in kafka binding for produce and merged streams
  • Determine how to associate kafka producerId with mqtt clientId (state? v5 clientId? session?)
  • Determine how to handle distinct producerId stream fan-in at kafka cache_server to shared produce stream
  • Determine how to map mqtt packetId to kafka message sequence (state? sequence? gaps?)

Activity

  1. added
    story
    on Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions