Skip to content

Commit

Permalink
Merge branch 'trunk' into minor-fix-chatty-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsax authored Mar 6, 2025
2 parents d2826f6 + 041d801 commit d660be7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 296 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,12 @@ static EndTransactionMarker deserializeValue(ControlRecordType type, ByteBuffer
throw new InvalidRecordException("Invalid version found for end transaction marker: " + version +
". May indicate data corruption");

if (version > EndTxnMarker.HIGHEST_SUPPORTED_VERSION)
if (version > EndTxnMarker.HIGHEST_SUPPORTED_VERSION) {
log.debug("Received end transaction marker value version {}. Parsing as version {}", version,
EndTxnMarker.HIGHEST_SUPPORTED_VERSION);
EndTxnMarker marker = new EndTxnMarker(new ByteBufferAccessor(value), EndTxnMarker.HIGHEST_SUPPORTED_VERSION);
version = EndTxnMarker.HIGHEST_SUPPORTED_VERSION;
}
EndTxnMarker marker = new EndTxnMarker(new ByteBufferAccessor(value), version);
return new EndTransactionMarker(type, marker.coordinatorEpoch());
}

Expand Down
109 changes: 0 additions & 109 deletions core/src/main/scala/kafka/utils/json/DecodeJson.scala

This file was deleted.

27 changes: 0 additions & 27 deletions core/src/main/scala/kafka/utils/json/JsonArray.scala

This file was deleted.

42 changes: 0 additions & 42 deletions core/src/main/scala/kafka/utils/json/JsonObject.scala

This file was deleted.

116 changes: 0 additions & 116 deletions core/src/main/scala/kafka/utils/json/JsonValue.scala

This file was deleted.

0 comments on commit d660be7

Please sign in to comment.