Skip to content

CC-26777: Cherry pick fix for potential NullPointerException for Kafka headers with null value. #57

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

100maygupta
Copy link

In Connect, a message Header can be null, so additional null-checks are required when processing header values e.g. for the Splunk index, to avoid an NPE.

Adds a failing -> passing test.

Cherry pick PR : splunk#414
JIRA : https://confluentinc.atlassian.net/browse/CC-26777

Problem

Solution

Does this solution apply anywhere else?
  • yes
  • no
If yes, where?

Test Strategy

Testing done:
  • Unit tests
  • Integration tests
  • System tests
  • Manual tests

Release Plan

In Connect, a message Header can be null, so additional null-checks are
required when processing header values e.g. for the Splunk index, to
avoid an NPE.

Adds a failing -> passing test.
@100maygupta 100maygupta requested a review from a team as a code owner March 21, 2025 12:29
@100maygupta 100maygupta merged commit 74eec81 into 2.0.5.x Mar 28, 2025
1 check passed
@100maygupta 100maygupta deleted the CC-26777 branch March 28, 2025 08:06
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.

3 participants