Skip to content

Commit

Permalink
Add support for Kafka topics (#1052)
Browse files Browse the repository at this point in the history
* Add support for Kafka topics

* add vendor dependencies

* fix UptimeAlert marshalling into comparison operation

* fix spacing

* run make terrafmt

* fix typo

* fix compact_delete value for cleanup policy

* fix bugs, tests

* add docs

* fix uptime tests, run terrafmt

* resolve vendor dependencies

* add kafka example, update doc

---------

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
dweinshenker and andrewsomething authored Oct 23, 2023
1 parent a54e98d commit 6bcb253
Show file tree
Hide file tree
Showing 30 changed files with 2,213 additions and 479 deletions.
11 changes: 11 additions & 0 deletions digitalocean/database/resource_database_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,17 @@ resource "digitalocean_database_cluster" "foobar" {
tags = ["production"]
}`

const testAccCheckDigitalOceanDatabaseClusterKafka = `
resource "digitalocean_database_cluster" "foobar" {
name = "%s"
engine = "kafka"
version = "%s"
size = "db-s-1vcpu-2gb"
region = "nyc1"
node_count = 3
tags = ["production"]
}`

const testAccCheckDigitalOceanDatabaseClusterMySQL = `
resource "digitalocean_database_cluster" "foobar" {
name = "%s"
Expand Down
Loading

0 comments on commit 6bcb253

Please sign in to comment.