docs: @SuppressWarnings("unchecked")
  	public <X> StreamRecord<X> replace(X value, long timestamp) {
  		this.timestamp = timestamp;
  		this.value = (T) value;
  		this.hasTimestamp = true;
  
  		return (StreamRecord<X>) this;
  	}