ServiceBusExplorer icon indicating copy to clipboard operation
ServiceBusExplorer copied to clipboard

EventHub Consumer Group Listener events list exception

Open iRubens opened this issue 2 years ago • 5 comments

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.

Screenshot 2022-04-14 153919

iRubens avatar Apr 14 '22 13:04 iRubens

Same here. Does not occur for all messages. Roll back to 5.0.4 fixes the issue.

image

JaQua-be avatar Apr 28 '22 10:04 JaQua-be

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);

drdamour avatar Jun 23 '22 19:06 drdamour

still is happening

drdamour avatar Sep 04 '22 18:09 drdamour

Yes, the issue has been fixed :(

image

fjgsanandres avatar Oct 05 '22 12:10 fjgsanandres

I used version 5.0.14. Received the same read-only-error. Downgrading to v5.0.4 fixed the issue

elmaxe avatar Oct 12 '22 08:10 elmaxe

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.

sqlarticles avatar Nov 01 '22 12:11 sqlarticles

Would love this to have real activity

drdamour avatar Dec 31 '22 20:12 drdamour

I got this issue with 5.0.15 and 5.0.5 No problem with 5.0.4

phramusca avatar Feb 01 '23 16:02 phramusca

It would be really useful if this could be fixed!

DelS-AGL avatar Jul 11 '23 03:07 DelS-AGL

This is still an issue. Had to downgrade to 5.0.4 as well.

SPea-1 avatar Jul 26 '23 13:07 SPea-1

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.

DelS-AGL avatar Jul 26 '23 23:07 DelS-AGL

@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.

SeanFeldman avatar Sep 06 '23 04:09 SeanFeldman

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.

DelS-AGL avatar Sep 07 '23 00:09 DelS-AGL

'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.

SeanFeldman avatar Sep 07 '23 00:09 SeanFeldman

@DelS-AGL, I missed that single spot and fixed in c90eca89b5338e77ece6a56c8a3eb8e98be89077. Thank you for a quick verification.

SeanFeldman avatar Sep 07 '23 03:09 SeanFeldman

@DelS-AGL, I missed that single spot and fixed in c90eca8. Thank you for a quick verification.

Confirmed! Thanks @SeanFeldman for getting on this!

DelS-AGL avatar Sep 07 '23 03:09 DelS-AGL

No worries. The sponsor link is coming 😜

SeanFeldman avatar Sep 07 '23 03:09 SeanFeldman

confirmed working, however it seems the custom properties still do not show

drdamour avatar Sep 27 '23 16:09 drdamour

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.

SeanFeldman avatar Sep 27 '23 16:09 SeanFeldman

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.

drdamour avatar Sep 27 '23 17:09 drdamour

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.

SeanFeldman avatar Sep 27 '23 17:09 SeanFeldman

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 avatar Sep 28 '23 00:09 DelS-AGL

@DelS-AGL, please open a separate issue. Thank you.

SeanFeldman avatar Sep 28 '23 04:09 SeanFeldman