Skip to content

Conversation

@clolov
Copy link
Contributor

@clolov clolov commented Feb 6, 2026

Moved to storage and turned into a record for immutability. Removed
add() because it didn't seem to be used.

@github-actions github-actions bot added triage PRs from the community storage Pull requests that target the storage module small Small PRs labels Feb 6, 2026
this.conversionTimeNanos = conversionTimeNanos;
}

public RecordValidationStats() {
Copy link
Member

Choose a reason for hiding this comment

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

Since this constructor is only used by EMPTY, can we remove it and just use the main one?

    public static final RecordValidationStats EMPTY = new RecordValidationStats(0, 0, 0);

}

@Override
public String toString() {
Copy link
Member

Choose a reason for hiding this comment

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

we could use the generated toString instead

@github-actions github-actions bot removed the triage PRs from the community label Feb 7, 2026
@github-actions github-actions bot added clients and removed small Small PRs labels Feb 9, 2026
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.kafka.common.record;
Copy link
Member

Choose a reason for hiding this comment

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

Could you move it to org.apache.kafka.storage.internals.log?

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

Labels

clients storage Pull requests that target the storage module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants