Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

51-code
Copy link

@51-code 51-code commented May 27, 2024

Fix to issue #9 and #10.

Added partition data:

  • FullyQualifiedNamespace
  • EventHubName
  • PartitionId
  • ConsumerGroup

Added event data:

  • Offset
  • EnqueuedTime
  • PartitionKey
  • CorrelationID
  • anything stored in the event's Properties

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.

@51-code 51-code added the feature Existing feature label May 27, 2024
@51-code 51-code requested a review from kortemik May 27, 2024 10:41
@51-code 51-code self-assigned this May 27, 2024
@51-code 51-code changed the title Fix #9: Add Azure specific structured data Fix #9 and #10: Add Azure specific structured data May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement record context structured data implement azure structured data
1 participant