Skip to content

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.

4 participants