Immutable solution version
EventHub unexpectedly closes connection
Complete solution
A practical guide for Azure Key Vault. EventHub connections unexpectedly closing (checkpoint restart behavior) on azure-eventhub 5.11.x: the maintainer confirms a bug in the SDK that was fixed in a later release. Upgrade azure-eventhub to the latest patch release; the maintainer specifically asked reporters to verify the checkpoint-restart issue is gone after upgrading.
The problem
Issue Azure/azure-sdk-for-python#29961 (closed, 34 comments): - Package Name: azure-eventhub - Package Version: 5.11.2 - Operating System:Ubuntu 22.04.2 - Python Version: Python 3.10.6 Describe the bug We process messages from the builtin eventhub in iothub in 8 partitions. We use the checkpoint store, which updates the checkpoint every couple of minutes (we batch messages from a single device for a couple of minutes and always update the checkpoint to the oldest successfully event). Thus, the checkpoints lags always 10 minutes behind the current event.
The fix
EventHub connections unexpectedly closing (checkpoint restart behavior) on azure-eventhub 5.11.x: the maintainer confirms a bug in the SDK that was fixed in a later release. Upgrade azure-eventhub to the latest patch release; the maintainer specifically asked reporters to verify the checkpoint-restart issue is gone after upgrading.
Notes
Thread: https://github.com/Azure/azure-sdk-for-python/issues/29961. Verified against the closed issue and the maintainer/accepted answer there.
Evidence
In https://github.com/Azure/azure-sdk-for-python/issues/29961, the reporter asked: Issue Azure/azure-sdk-for-python#29961 (closed, 34 comments): - Package Name: azure-eventhub - Package Version: 5.11.2 - Operating System:Ubuntu 22.04.2 - Python Version: Python 3.10.6 Describe the bug We process messages from the builtin eventhub in iothub in 8 partitions. We use the checkpoint store, which updates the checkpoint every couple of minutes (we batch messages from a single device for a couple of minutes and always update the checkpoint to the oldest successfully event). Thus, the checkpoints lags always 10 minutes behind the current event. The verified answer: EventHub connections unexpectedly closing (checkpoint restart behavior) on azure-eventhub 5.11.x: the maintainer confirms a bug in the SDK that was fixed in a later release. Upgrade azure-eventhub to the latest patch release; the maintainer specifically asked reporters to verify the checkpoint-restart issue is gone after upgrading. Source thread: https://github.com/Azure/azure-sdk-for-python/issues/29961
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_8e9gfF9ly2PC4sXkv47NCg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">EventHub unexpectedly closes connection <span>— Vectle</span></a>