Skip to content

Conversation

@scwlkq
Copy link
Contributor

@scwlkq scwlkq commented Feb 20, 2024

Contribution Checklist

Fixes #4770

Motivation

Modifications

  1. 对writeOffset增加了对null的兼容
  2. 删除了CloudEventUtil的注释( // todo: recordPartition & recordOffset)因为openconnect模块实现了connector的offset相关。 这个注释的日期是23年8月 openconnect-offset是23年7月,或者说CloudEventUtil需要实现不同中间件offset的转化?

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

LGTM

@mxsm mxsm merged commit 1a5e06c into apache:master Feb 20, 2024
@xwm1992 xwm1992 added this to the 1.11.0 milestone Dec 18, 2024
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
…ache#4777)

* Add null check in writeOffset method

* delete todo

* Move data.put inside null check in writeOffset method

* simplify if judgement

* remove dev environment

* fix style
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.

[Bug] Empty class member cause NullpointerException

4 participants