-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make maxWaitTimeAfterFirstMessage configurable for Servicebus Receive function #15963
Comments
Let me see what the team thinks, but I agree it'd be useful. |
Lots of renames and changes based on the API reviews: Admin API: - All `Response` structs have been broken down into `Response+Result` - QueueName, TopicName, SubscriptionName are no longer present in the Properties structs as that doesn't reflect the API itself. - <Entity>Exists functions have been removed - Missing fields have been added (UserMetadata, etc..) Sender and Receiver API: - SendMessages removed in favor of making SendMessageBatch more intuitive (by simplfying the .AddMessage API) - Several renames suggested in review - ReceiveMessages has been tuned to match the .NET limits (which has worked well in practice). This is partly addressing #15963, as our default limit was far higher than needed. Coming in near term PRs: - AuthorizationRules, SubscriptionRules (coming in a future PR but requires a bit more thought) -
This spurred some interesting discussion in our team, so thank you for submitting it! In the immediate term, I've changed the the default wait time after first message to 20ms, rather than 1 second. We've got some good practical evidence (given that this is the value that the .NET stack uses) that this should work better in practice. This will be released in the next beta (coming out in the next few days). Longer term, we're still discussing if the underlying algorithm so we won't be exposing the setting publicly. |
Lots of renames and changes based on the API reviews: Admin API: - All `Response` structs have been broken down into `Response+Result` - QueueName, TopicName, SubscriptionName are no longer present in the Properties structs as that doesn't reflect the API itself. - <Entity>Exists functions have been removed - Missing fields have been added (UserMetadata, etc..) Sender and Receiver API: - SendMessages removed in favor of making SendMessageBatch more intuitive (by simplfying the .AddMessage API) - Several renames suggested in review - ReceiveMessages has been tuned to match the .NET limits (which has worked well in practice). This is partly addressing Azure#15963, as our default limit was far higher than needed. Coming in near term PRs: - AuthorizationRules, SubscriptionRules (coming in a future PR but requires a bit more thought) -
(moving to backlog as this hasn't resurfaced as a customer issue and we're just matching the existing timeout that appears to work well in .net) |
Closing - we ended up making this flexible so you can configure it fully in #22154 |
Feature Request
The field
maxWaitTimeAfterFirstMessage
inazure-sdk-for-go/sdk/messaging/azservicebus/receiver.go
Line 150 in 47db7e2
The text was updated successfully, but these errors were encountered: