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