I am trying to use this sample (https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-node-get-started-send) but I am not able to read unread data only. One more thing I am getting two different error
1) connect ETIMEDOUT 40.112.242.0:5671
2) lease lost while updating checkpoint
In the node js sample, I am not able to set checkpoints. I have tried Azure/azure-sdk-for-js as well. But it is showing the same error listed above.
When I have also run .netcore sample then they are working fine so I am not getting why node js sample is not working fine?
Can you please guide me on how can fix this issue to read-only unread and new data?
For node.js, please use the code below to set checkpoint, it works well at my side:
And I can see the checkpoint is set correctly in blob container: