Skip to content

Conversation

@Abigael-JT
Copy link
Contributor

Return an empty collection if offsets are null in KafkaBatchSliceCollection Class

@Abigael-JT Abigael-JT requested a review from kortemik February 17, 2025 13:42
@Abigael-JT Abigael-JT added the review Issues or pull requests waiting for a review label Feb 17, 2025
@kortemik
Copy link
Member

this is likely a improper course of action. null offsets are provided by the spark framework and have specific meaning. more over the class itself is a mutable one so returning this will return a mutated state and not an empty list like the comment states. please investigate further.

@q22u q22u removed the review Issues or pull requests waiting for a review label Apr 11, 2025
Copy link
Member

@kortemik kortemik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check previous comment

@Abigael-JT
Copy link
Contributor Author

we have created an issue to investigate this further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KafkaBatchSliceCollection dereferencing a pointer that might be null

5 participants