You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go...@googlegroups.com
Hi everyone,
I just wanted to get a proper example usage of the function DcAwareRoutingPolicy that takes a string. The parameter says the local datacentre but I'm not sure what string to provide that function because I have three data centres.
Thanks and Regards,
Vivek Bhat
Martin Sucha
unread,
Mar 11, 2021, 6:48:29 AM3/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
I just wanted to get a proper example usage of the function DcAwareRoutingPolicy that takes a string. The parameter says the local datacentre but I'm not sure what string to provide that function because I have three data centres.
The parameter is the name of the datacenter that you prefer to send requests to. Usually it is the DC where your application/gocql is running. It has to be one of the datacenter names configured in your Cassandra cluster.
Martin
This email, including attached files, may contain confidential information and is intended only for the use of the individual and/or entity to which it is addressed. If you are not the intended recipient, disclosure, copying, use, or distribution of the information included in this email and/or in its attachments is prohibited. If you have received it by mistake, please do not read, copy or use it, or disclose its contents to others. Please notify the sender that you have received this email by mistake by replying to the email, and then delete the email and any copies and attachments of it. Thank you.
Moreno Garcia
unread,
Mar 12, 2021, 9:09:09 AM3/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gocql
Vivek, it is the same DC names that you see on "nodetool status" output.