teragrep / aer_01

Azure EventHub to syslog bridge
GNU Affero General Public License v3.0
0 stars 3 forks source link

Fix #9 and #10: Add Azure specific structured data #23

Closed 51-code closed 1 month ago

51-code commented 4 months ago

Fix to issue #9 and #10.

Added partition data:

Added event data:

There was a note for nulls in the issue. I checked the API for the partition data and it turns out that there can't be nulls returned from these (the constructor throws NPE if any of these are not set). This is why I'm not checking for nulls in the code.

Null checks are made for event data's offset, enqueuedTime, partitionKey and correlationID which can return null.