private void resetCorrelationId(byte[] request) {
    // correlation id is an int that comes after size (long), type (short) and version (short).
    int offsetOfCorrelationId = 8 + 2 + 2;
    ByteBuffer wrapped = ByteBuffer.wrap(request);
    wrapped.putInt(offsetOfCorrelationId, 0);
  }
Reset the correlation id field of a {@link PutRequest} to 0.
ambry-router/src/test/java/com/github/ambry/router/PutOperationTest.java