Skip to content

MINOR: Use NullNode instead of empty TextNode for missing request/response fields#22295

Merged
chia7712 merged 1 commit into
apache:trunkfrom
majialoong:use_NullNode_instead_empty_TextNode
May 15, 2026
Merged

MINOR: Use NullNode instead of empty TextNode for missing request/response fields#22295
chia7712 merged 1 commit into
apache:trunkfrom
majialoong:use_NullNode_instead_empty_TextNode

Conversation

@majialoong

@majialoong majialoong commented May 15, 2026

Copy link
Copy Markdown
Contributor

See #22075 (comment) ,
use NullNode.getInstance() instead of new TextNode("") as the
fallback for missing request/response fields.

Reviewers: Chia-Ping Tsai chia7712@gmail.com

@github-actions github-actions Bot added triage PRs from the community core Kafka Broker small Small PRs labels May 15, 2026

@chia7712 chia7712 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@chia7712 chia7712 merged commit 9505119 into apache:trunk May 15, 2026
24 checks passed
@github-actions github-actions Bot removed the triage PRs from the community label May 16, 2026
JiayaoS pushed a commit to JiayaoS/kafka that referenced this pull request May 21, 2026
…ponse fields (apache#22295)

See apache#22075 (comment) ,
use `NullNode.getInstance()` instead of `new TextNode("")` as the
fallback for missing `request`/`response` fields.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
@majialoong majialoong deleted the use_NullNode_instead_empty_TextNode branch May 23, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved core Kafka Broker small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants