mirror of https://github.com/apache/nifi.git
Revert "NIFI-3352 - Address issue where ListenLumberjack was sending long numbers back to clients - instead of int"
This reverts commit 9609dafc34
.
This commit is contained in:
parent
5b69c97f41
commit
8c7539b20a
|
@ -161,7 +161,7 @@ public class LumberjackDecoder {
|
|||
|
||||
// Lumberjack has a weird approach to frames, where compressed frames embed D(ata) or J(SON) frames.
|
||||
// inside a compressed input.
|
||||
// Or as stated in the documentation:
|
||||
// Or astated in the documentation:
|
||||
//
|
||||
// "As an example, you could have 3 data frames compressed into a single
|
||||
// 'compressed' frame type: 1D{k,v}{k,v}1D{k,v}{k,v}1D{k,v}{k,v}"
|
||||
|
|
|
@ -51,7 +51,7 @@ public class LumberjackResponse {
|
|||
return new LumberjackFrame.Builder()
|
||||
.version(version)
|
||||
.frameType(frameType)
|
||||
.payload(ByteBuffer.allocate(4).putInt((int) seqNumber).array())
|
||||
.payload(ByteBuffer.allocate(8).putLong(seqNumber).array())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue