Skip to content

[Service Bus] Adjust receive behavior to match .NET's algorithm #12217

@yunhaoling

Description

@yunhaoling

In .NET:

  • max wait time is for the first message
  • on receipt of the first message, keep receiving for fixed extra time (20ms)
  • return
    • the extra wait time expired
    • max batch size reached
    • max wait time expired if no message received

Things to do:

  • expose functionality of link credit reset in uamqp
  • implement the receive logic in SB
  • find the suitable value for the fixed extra wait time for Python

related: Azure/azure-sdk-for-js#9718

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Service Bus

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions