Skip to content

Can we make to use CAS instead of ReentrantLock in RabbitStreamTemplate.createOrGetProducer ? #2861

@laststem

Description

@laststem

Expected Behavior

Use CAS in createOrGetProducer.

Current Behavior

Always createOrGetProducer makes lock and unlock.

Context

There was a slight delay due to the lock in a high traffic environment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions