Skip to content

Replace synchronous ack with async batch ack #52

@ccm32004

Description

@ccm32004

The current implementation uses consumer.acknowledge(pMsg) which is synchronous and blocks on each individual message acknowledgment, waiting for the Pulsar broker to respond. This creates a performance bottleneck as it processes acks sequentially in a loop. Should switch to consumer.acknowledgeAsync(messageIds)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions