-
Notifications
You must be signed in to change notification settings - Fork 850
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
[service-bus] Receiving #15092
Comments
NOTE: these are just placeholders as I do my review of the library. It's possible that some of this is already exposed in the compliant way and no work will need to be done. I'll update this issue as I go. |
Definitely don't want to expose a channel through an exported interface. That why iterators in SB are the way they are. |
1 similar comment
Definitely don't want to expose a channel through an exported interface. That why iterators in SB are the way they are. |
That was an off the cuff idea, but I'm interested. It sounds like you're saying it's an anti-pattern? |
In this case, it would difficult to ensure a consumer were to read all of the items added to the channel. I think it would lead to error prone code. I don't see exposing channels as a 100% never do it thing (thinking about |
We have the two major receiving types - batch receiving via Receiver.ReceiveMessages(), non-destructive read (via Receiver.PeekMessages() and streaming via the Processor. The iterative method was optional, so dropping for track 2. |
The Service Bus receiver should allow for:
NOTE: this was a big enough item that I moved it into [service-bus] Batch receiving #15156
Some additional options:
The text was updated successfully, but these errors were encountered: