-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kong doesn't keep track of changing Cassandra cluster nodes. #121
Comments
Contributions to this driver aiming at supporting cluster topology events are welcome. So would be improving |
Same issue. News ? |
@nbisson No news on this front. Contributions still welcome. |
We are suffering from this problem too. As a workaround we had to come up with a very ugly solution:
That allows to call endpoint "/kong-reload" on the Kong node and that executes command
Here is example of my script.
The solution has a lot of drawbacks and requires maintenance. Ideally Kong should be able to rediscover Cassandra cluster members via this cassandra db driver. |
Hi,
I'm working with Kong 0.13.1 that uses lua-cassandra 1.2.3 and OpenResty 1.11.2.5. Kong talks to Cassandra 3.11.2. My problem is that Kong doesn't keep track of changing Cassandra cluster nodes.
Details are following:
a. If a node is added, then Kong will never know that and will never try to connect to the new node.
b. If a node is removed, then Kong will try to connect to it infinitely. The number of nodes "visible" to Kong will be reduced, what in consequence will lead to performance degradation.
c. If restart of node causes change of the IP then the result is as one node is removed and another added.
I have to cover the following scenarios:
My question is: do you plan to enhance lua-cassandra driver to keep track of Cassandra cluster nodes changes (as I described above)?
Best Regards
The text was updated successfully, but these errors were encountered: