-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added support for (soon to be released) dedicated zookeeper feature for Instaclustr managed Kafka clusters * Forgot to remove commenting * Addressed Arjun's comments * bump version * bumped the Makefile version to 1.5.0 Co-authored-by: Hendra Gunadi <[email protected]>
- Loading branch information
Showing
9 changed files
with
124 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// This is part of testing "kafka user" suite, 1 of 3 | ||
provider "instaclustr" { | ||
username = "%s" | ||
api_key = "%s" | ||
api_hostname = "%s" | ||
} | ||
|
||
resource "instaclustr_cluster" "kafka_cluster" { | ||
cluster_name = "example_kafka_tf_test" | ||
node_size = "t3.small-20-gp2" | ||
data_centre = "US_WEST_2" | ||
sla_tier = "NON_PRODUCTION" | ||
cluster_network = "192.168.0.0/18" | ||
cluster_provider = { | ||
name = "AWS_VPC" | ||
} | ||
rack_allocation = { | ||
number_of_racks = 3 | ||
nodes_per_rack = 1 | ||
} | ||
|
||
bundle { | ||
bundle = "KAFKA" | ||
version = "2.5.1" | ||
options = { | ||
dedicated_zookeeper = true | ||
zookeeper_node_size = "%s" | ||
zookeeper_node_count = 3 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// This is part of testing "kafka user" suite, 2 of 3 | ||
provider "instaclustr" { | ||
username = "%s" | ||
api_key = "%s" | ||
api_hostname = "%s" | ||
} | ||
|
||
resource "instaclustr_cluster" "kafka_cluster" { | ||
cluster_name = "example_kafka_tf_test" | ||
node_size = "t3.small-20-gp2" | ||
data_centre = "US_WEST_2" | ||
sla_tier = "NON_PRODUCTION" | ||
cluster_network = "192.168.0.0/18" | ||
cluster_provider = { | ||
name = "AWS_VPC" | ||
} | ||
rack_allocation = { | ||
number_of_racks = 3 | ||
nodes_per_rack = 1 | ||
} | ||
|
||
bundle { | ||
bundle = "KAFKA" | ||
version = "2.5.1" | ||
options = { | ||
dedicated_zookeeper = true | ||
zookeeper_node_size = "%s" | ||
zookeeper_node_count = 3 | ||
} | ||
} | ||
} | ||
|
||
resource "instaclustr_kafka_user" "kafka_user_charlie" { | ||
cluster_id = "${instaclustr_cluster.kafka_cluster.cluster_id}" | ||
username = "%s" | ||
password = "%s" | ||
initial_permissions = "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters