Interface RevisionResolver

    • Method Detail

      • revisionOf

        String revisionOf​(Class<?> payloadType)
        Returns the revision for the given payloadType. The revision is used by upcasters to decide whether they need to process a certain serialized event. Generally, the revision needs to be modified each time the structure of an event has been changed in an incompatible manner.
        Parameters:
        payloadType - The type for which to return the revision
        Returns:
        the revision for the given payloadType