I have one use case to store the cluster name in the document key. Is there any SQL++ function to get cluster name similar like node_name() function (Miscellaneous Utility Functions | Couchbase Docs)
Possibly available from the REST API.
https://docs.couchbase.com/server/current/rest-api/rest-name-cluster.html