Later versions of Flink deprecate the following method and throw a RuntimeException if it is called
AbstractJsonDeserializationSchema where we see
@Deprecated
public RowData deserialize(@Nullable byte[] message) throws IOException {
...
throw new FlinkRuntimeException("Please invoke DeserializationSchema#deserialize(byte[], Collector<RowData>) instead.");
...
This issue is to upgrade this deserialize to use DeserializationSchema#deserialize(byte[], Collector)