Merges two events by their schema. It checks two whether the schemas of two events are equal or not. If the schemas are not equal we can throw SpRuntimeException otherwise we can collect them.
Two events are needed.
For each stream schema info should be present
Events with same schemas.