ServiceBusExplorer
ServiceBusExplorer copied to clipboard
EventHub Consumer Group Listener events list exception
I'm trying to see the text of an event after connecting with an EventHub consumer group listener (version 5.0.7 on W10 20H2 19042.1586).
Every time I select an item from the list the "Event Text" box stays empty and and in the log I see a new row with the exception "This object is read-only and cannot be modified." (see screenshot below).
If I roll back to 5.0.4, with the same PC/EH, all works flawlessly.
Same here. Does not occur for all messages. Roll back to 5.0.4 fixes the issue.
i've noticed this happens whenever an event has custom properites.
eg
var d = new EventData();
d.ContentType = "application/json";
d.MessageId = Guid.NewGuid().ToString();
d.Properties.Add("test2", "val");
d.EventBody = BinaryData.FromObjectAsJson(statusChangeEvent);
await shipmentsHub.AddAsync(d);
fails, but commenting out props works
var d = new EventData();
d.ContentType = "application/json";
d.MessageId = Guid.NewGuid().ToString();
//d.Properties.Add("test2", "val");
d.EventBody = BinaryData.FromObjectAsJson(statusChangeEvent);
await shipmentsHub.AddAsync(d);
still is happening
Yes, the issue has been fixed :(
I used version 5.0.14. Received the same read-only-error. Downgrading to v5.0.4 fixed the issue
Thanks, @elmaxe. I ignored using service bus explorer after I started facing error from version 5.0.7
I ended up writing a python code to do it. However, this was handy. After I reverted to 5.0.4
it worked fine to me.
Would love this to have real activity
I got this issue with 5.0.15 and 5.0.5 No problem with 5.0.4
It would be really useful if this could be fixed!
This is still an issue. Had to downgrade to 5.0.4 as well.
This is still an issue. Had to downgrade to 5.0.4 as well.
There is a work-around, which means we can now use 5.0.15. You can replace Microsoft.ServiceBus.dll with a copy from the V5.0.4 installation.
@iRubens, @drdamour, @fjgsanandres, @elmaxe, @sqlarticles, @DelS-AGL, @SPea-1, a potential workaround w/o downgrading the SDK is coming.
If any of you would like to check out the PR code to validate it's working, that's be very helpful. Thanks.
Not quite! I am now able to see the Event Custom Properties in a Partition Listener. I can also 'View and Save Event Data' and 'Save' the event. 'Save Selected Event' does not work for a single event but if two events are selected, 'Save Selected Events' does work.
'Save Selected Event' does not work for a single event but if two events are selected, 'Save Selected Events' does work.
Never have a single event - problem solved 😂
It might or might not be related. I'll check it out. Thank you for the test run, @DelS-AGL.
@DelS-AGL, I missed that single spot and fixed in c90eca89b5338e77ece6a56c8a3eb8e98be89077. Thank you for a quick verification.
@DelS-AGL, I missed that single spot and fixed in c90eca8. Thank you for a quick verification.
Confirmed! Thanks @SeanFeldman for getting on this!
No worries. The sponsor link is coming 😜
confirmed working, however it seems the custom properties still do not show
confirmed working, however it seems the custom properties still do not show
How do you validate it, @drdamour? In my work on https://github.com/paolosalvatori/ServiceBusExplorer/pull/740 custom properties showed up.
confirmed working, however it seems the custom properties still do not show
How do you validate it, @drdamour? In my work on #740 custom properties showed up.
you're right, thanks for correcting me! i was looking in wrong spot, duh, it's the system properties like message id and content type. that aren't showing still cf #657 custom def appearing.
I see. Closing this one as it's finished, keeping #657 (MessageId and ContentType do not show up in EventHubListener) for further investigation and fixing.
Actually there is a problem with the following use case:
- open partition listener window
- set starting date/time
- Start and wait a few seconds, then Stop
- View Events tab – all good
- Click Clear the Start for a bit then Stop
- Event Custom Properties are not displayed
But if you close the viewer and open a new one it is OK
Del Smith ODC Data Integration Engineer
m: 0438 824 469 e: @.@.>
@.***
From: Sean Feldman @.> Sent: Thursday, September 28, 2023 3:37 AM To: paolosalvatori/ServiceBusExplorer @.> Cc: Del Smith @.>; Mention @.> Subject: [EXTERNAL] Re: [paolosalvatori/ServiceBusExplorer] EventHub Consumer Group Listener events list exception (Issue #638)
I see. Closing this one as it's finished, keeping #657https://urldefense.com/v3/__https:/github.com/paolosalvatori/ServiceBusExplorer/issues/657__;!!F8kG8IHFARY!Y8Af2N6S4n8f9kJ7zS2VIs2hCnpUsbj4FL60nz8HC5SNlsDd5J-L0bM6-b_mGK6GseTwak7RAQfJ1_pE-Bn3QDFU$ (MessageId and ContentType do not show up in EventHubListener) for further investigation and fixing.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/paolosalvatori/ServiceBusExplorer/issues/638*issuecomment-1737818147__;Iw!!F8kG8IHFARY!Y8Af2N6S4n8f9kJ7zS2VIs2hCnpUsbj4FL60nz8HC5SNlsDd5J-L0bM6-b_mGK6GseTwak7RAQfJ1_pE-PPvJgsp$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AK63O2YWDIYMHV2MEKBWG33X4RP3DANCNFSM5TN2TFJA__;!!F8kG8IHFARY!Y8Af2N6S4n8f9kJ7zS2VIs2hCnpUsbj4FL60nz8HC5SNlsDd5J-L0bM6-b_mGK6GseTwak7RAQfJ1_pE-AeJcbA2$. You are receiving this because you were mentioned.Message ID: @.@.>>
This email is intended solely for the use of the addressee and may contain information that is confidential or privileged. If you receive this email in error please notify the sender and delete the email immediately.
@DelS-AGL, please open a separate issue. Thank you.