Comments (5)
Totally understand, I wasn't able to distill a repro so I am sorry about that! This isn't actionable so I am going to go ahead and close this. Especially since simply dropping the connection seems to suffice for me.
from azeventhubs.
Interesting. Let me see if i can recreate this behavior.
from azeventhubs.
My initial guess is that there's something wrong with my state machine implementation. A temporary workaround would be just drop the EventStream. This will still perform the graceful shutdown but just in a non-async manner
from azeventhubs.
Thanks! That's a great work around
from azeventhubs.
Hi @jackgerrits I tried to recreate the bug but haven't been able to. I have added a new example (https://github.com/minghuaw/azeventhubs/blob/main/examples/spawn_multiple_consumer.rs) which essentially does the same thing with the exception that there are 3 partitions instead of 4 (this is simply because of how my test eventhubs instance is set up).
This example has been working fine so far on both my local machine (mac) and my testing Azure VM instance. The underlying AMQP implementation may log an error that says IllegalConnectionState
(this would only appear in logs but won't return an error), but this is usually caused by the server side closing the underlying TCP connection before the client side completes the handshake, and this should not lead to client hanging.
from azeventhubs.
Related Issues (20)
- `RecoverAndReceiveError` is not exposed HOT 1
- Change error type of `EventStream` to `azure_core::Error` HOT 1
- Change visibility of the inner value of `MaxRetries` to `pub(crate)` to enforce construction via `TryFrom` HOT 1
- Hide private types from generic parameters of `EventStream` (eg. `AmqpConsumer`) HOT 1
- Implement `EventHubProcessor` HOT 2
- Error while recovering connection HOT 68
- Improve error reporting for idling client HOT 2
- Producer client panics upon retrying CBS auth after idling
- Plans for 0.18
- Upcoming breaking update in dependencies `fe2o3-amqp`
- Add CI
- Open completely new link if the link is closed by remote HOT 2
- Checkpoint store support
- Cannot create either producer or consumer client with azure_identity `DefaultCredential` HOT 3
- `EventPosition` cloned from initial consumer options should not be modified during recovery
- Do not attempt link recovery if link is stolen
- Return position `impl Future + Send + 'lifetime` in traits HOT 3
- Remove `prelude` mod
- Review Azure SDK Guideline for Rust
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azeventhubs.