def METHOD_NAME(admin_id: str, message_types: list, partitions: int):
    """create topic."""
    mbadmin = MessageBusAdmin(admin_id = admin_id)
    try:
        mbadmin.register_message_type(message_types = message_types,
                                partitions = partitions)
    except Exception as e:
        if "TOPIC_ALREADY_EXISTS" not in str(e):
            raise(e)