@classmethod
def get_topic(cls, base_namespace: str, schema_fully_qualified_name: str
    ) ->str:
    """
        Get the topic name given the schema.

        Topic name is the last two parents before schema name, e.g.

        'com.jaumo.event.domain.user.users.RoleAssigned' -> 'user.users'

        :param base_namespace: The schemas base namespace
        :param schema_fully_qualified_name: Fully qualified name of the schema
        :return: The topic name
        """
    return '.'.join(schema_fully_qualified_name.replace(base_namespace +
        '.', '').split('.')[:-1])
