EventDataBatch creates AMQP messages before the event sending process so when using it results the loss of Diagnostic-Id, Correlation-Context and any other properties set through plugins without any feedback.
I understand why EventDataBatch generates AMQP message when TryAdd is called but it would be better to give some warning at such situation.
@gyuwon can you share more information about this?
What library are you using?
What code are you writing for this?
The mention of plugins identifies this as the track one library. I'd like to ask @serkantkaraca, @sjkwak, or @JamesBirdsall to offer their thoughts.
The following code not only calculates the size of the event data but also generates AMQP message.
And BeforeEventSend method of EventHubsPlugin allows us to modify EventData.
But in the case of batch sending scenario, AMQP message was already created before run plugins so modifications from plugins are just ignored.
Thanks for reporting this. Let me check the code and provide you my findings.
We are going to have a fix in the next release.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
Keeping the issue active. This will be fixed as part of 4.3 release. Thx.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
There should be no immediate action needed, per Serkant's comment. Trimming up some tags to discourage the bot from interfering with the tracking and release process.
Fix is merged. This will be available by 4.3.0 release.
Most helpful comment
We are going to have a fix in the next release.