Skip to content
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

docs(c*): add cassandra deprecation message #8089

Merged
merged 1 commit into from Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -65,6 +65,8 @@
### Dependencies

- Bumped `go-pdk` used in tests from v0.6.0 to v0.7.1 [#7964](https://github.com/Kong/kong/pull/7964)
- Cassandra support is deprecated with 2.7 and will be fully removed with 4.0.
https://konghq.com/blog/cassandra-support-deprecated

### Additions

Expand Down
1 change: 1 addition & 0 deletions kong/conf_loader/init.lua
Expand Up @@ -774,6 +774,7 @@ local function check_and_infer(conf, opts)
end

if conf.database == "cassandra" then
log.deprecation("Support for Cassandra is deprecated. Please refer to https://konghq.com/blog/cassandra-support-deprecated", {after = "2.7", removal = "4.0"})
if string.find(conf.cassandra_lb_policy, "DCAware", nil, true)
and not conf.cassandra_local_datacenter
then
Expand Down